From 60f1aa68646ab84cc96b55a7548707adde15f47a Mon Sep 17 00:00:00 2001 From: Thomas Wong Date: Tue, 9 Apr 2024 17:05:18 +1000 Subject: [PATCH] update the package name for Linux --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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()