aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorlee <leelf_00@126.com>2024-03-27 17:50:07 +0800
committerGitHub <noreply@github.com>2024-03-27 10:50:07 +0100
commit370685457e83c9657c1337ea5a2dc2f07e01af62 (patch)
treec48a057c5b0c286793cd9c8cb57f0584c56cd2c6 /cmake
parent6a54dc5a34665e54937d1300e73a087b5938c1ab (diff)
Build: Fix Linux aarch64 GCC build (#29831)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/macros/CheckPlatform.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/macros/CheckPlatform.cmake b/cmake/macros/CheckPlatform.cmake
index c0a5185b805..5dbd52a8773 100644
--- a/cmake/macros/CheckPlatform.cmake
+++ b/cmake/macros/CheckPlatform.cmake
@@ -9,7 +9,7 @@ endif()
if(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64|AMD64")
set(TRINITY_SYSTEM_PROCESSOR "amd64")
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)64$")
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM|aarch)64$")
set(TRINITY_SYSTEM_PROCESSOR "arm64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)$")
set(TRINITY_SYSTEM_PROCESSOR "arm")