2023-08-30 02:21:10 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 3e382a4..63ef346 100644
|
2022-04-30 02:40:30 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-08-30 02:21:10 +08:00
|
|
|
@@ -57,11 +57,11 @@ set(PROCESSOR_IS_RISCV FALSE)
|
|
|
|
|
2022-04-30 02:40:30 +08:00
|
|
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
|
|
|
|
set(PROCESSOR_IS_MIPS TRUE)
|
2023-08-30 02:21:10 +08:00
|
|
|
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)")
|
|
|
|
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64|ARM64)")
|
2023-01-31 09:15:14 +08:00
|
|
|
set(PROCESSOR_IS_AARCH64 TRUE)
|
2022-04-30 02:40:30 +08:00
|
|
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
|
|
|
|
set(PROCESSOR_IS_ARM TRUE)
|
|
|
|
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)|(AMD64|amd64)|(^i.86$)")
|
2023-08-30 02:21:10 +08:00
|
|
|
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(x86_64)|(AMD64|amd64)|(^i.86$)")
|
2022-04-30 02:40:30 +08:00
|
|
|
set(PROCESSOR_IS_X86 TRUE)
|
|
|
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
|
|
|
set(PROCESSOR_IS_POWER TRUE)
|