We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764cef8 commit 6713d4fCopy full SHA for 6713d4f
1 file changed
CMakeLists.txt
@@ -23,12 +23,13 @@ endif()
23
24
if(NOT KIWI_CPU_ARCH)
25
if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
26
- set(KIWI_CPU_ARCH "x86_64" PARENT_SCOPE)
+ set(KIWI_CPU_ARCH "x86_64")
27
elseif (HOST_ARCHITECTURE MATCHES "^arm64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch64)")
28
- set(KIWI_CPU_ARCH "arm64" PARENT_SCOPE)
+ set(KIWI_CPU_ARCH "arm64")
29
else()
30
- set(KIWI_CPU_ARCH "other" PARENT_SCOPE)
+ set(KIWI_CPU_ARCH "other")
31
endif()
32
+ set(KIWI_CPU_ARCH "${KIWI_CPU_ARCH}" PARENT_SCOPE)
33
34
35
if(APPLE)
0 commit comments