diff --git a/CMakeLists.txt b/CMakeLists.txt index 591426085..5e5689743 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -937,6 +937,14 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") endif() endif() +if (NOT APPLE AND UNIX) + if (__ARM_NEON) + set (SYSTEM_NAME "Linux-arm") + else() + set (SYSTEM_NAME "Linux-intel") + endif() +endif() + if (BINARY32) set (SYSTEM_NAME "${SYSTEM_NAME}32") endif()