Skip to content

Commit 6713d4f

Browse files
committed
fixed CMakeLists.txt
1 parent 764cef8 commit 6713d4f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ endif()
2323

2424
if(NOT KIWI_CPU_ARCH)
2525
if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
26-
set(KIWI_CPU_ARCH "x86_64" PARENT_SCOPE)
26+
set(KIWI_CPU_ARCH "x86_64")
2727
elseif (HOST_ARCHITECTURE MATCHES "^arm64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch64)")
28-
set(KIWI_CPU_ARCH "arm64" PARENT_SCOPE)
28+
set(KIWI_CPU_ARCH "arm64")
2929
else()
30-
set(KIWI_CPU_ARCH "other" PARENT_SCOPE)
30+
set(KIWI_CPU_ARCH "other")
3131
endif()
32+
set(KIWI_CPU_ARCH "${KIWI_CPU_ARCH}" PARENT_SCOPE)
3233
endif()
3334

3435
if(APPLE)

0 commit comments

Comments
 (0)