From f453403ea91a806358891d952dde4440518c758c Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Wed, 27 Jul 2022 22:25:40 -0400 Subject: [PATCH] bugfix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd988cfe9..02f33936e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,7 +193,7 @@ function(fw_add_variant variant_name) endforeach() string(FIND ${variant_name} "MK3" HAS_XFLASH) - if (HAS_XFLASH GREATER 0) + if (${HAS_XFLASH} GREATER_EQUAL 0) add_custom_command( OUTPUT ${LANG_FINAL_BIN} # TODO - needs differentiation for platforms, e.g. copy /b on Win COMMAND cat ${LANG_BINS} > ${LANG_FINAL_BIN}