diff options
Diffstat (limited to 'project/cmake/scripts/linux/ArchSetup.cmake')
-rw-r--r-- | project/cmake/scripts/linux/ArchSetup.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/project/cmake/scripts/linux/ArchSetup.cmake b/project/cmake/scripts/linux/ArchSetup.cmake index abca06ccbf..3cf5562d8c 100644 --- a/project/cmake/scripts/linux/ArchSetup.cmake +++ b/project/cmake/scripts/linux/ArchSetup.cmake @@ -8,13 +8,17 @@ if(WITH_ARCH) else() if(CPU STREQUAL x86_64) set(ARCH x86_64-linux) + set(NEON False) elseif(CPU MATCHES "i.86") set(ARCH i486-linux) + set(NEON False) add_options(CXX ALL_BUILDS "-msse") elseif(CPU MATCHES arm) set(ARCH arm) + set(NEON True) elseif(CPU MATCHES aarch64 OR CPU MATCHES arm64) set(ARCH aarch64) + set(NEON False) else() message(SEND_ERROR "Unknown CPU: ${CPU}") endif() |