Skip to content

Commit 2cd2a45

Browse files
authored
Merge pull request #1 from kwalker-plxs/walker/cmake-l476
fix: always quote when doing list search
2 parents e2c1e14 + 6341fd1 commit 2cd2a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ if(NOT DEFINED CACHE{WOLFBOOT_TARGET})
378378
CACHE INTERNAL "Target platform")
379379
endif()
380380

381-
if(${WOLFBOOT_TARGET} IN_LIST ARM_TARGETS)
381+
if("${WOLFBOOT_TARGET}" IN_LIST ARM_TARGETS)
382382
set(ARCH ARM)
383383
elseif(WOLFBOOT_TARGET STREQUAL "x86_64_efi")
384384
set(ARCH x86_64)

0 commit comments

Comments
 (0)