summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-14 21:46:53 -0400
committerGitHub <noreply@github.com>2018-08-14 21:46:53 -0400
commit8dc440758682e04f1a9443f2eced23388a988f1d (patch)
tree946cb4673fd36d401b70736ad3f99dc3dd8388b6
parent1c31cbad7263f5ab199197c16e60b82d25a2d633 (diff)
parent319dbc58433064212965ec27f20ab9150047bb18 (diff)
Merge pull request #1066 from lioncash/aarch64
CMakeLists: Add architecture detection for AArch64
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff8385e3a..59c610732 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,10 +66,12 @@ if (NOT ENABLE_GENERIC)
detect_architecture("_M_AMD64" x86_64)
detect_architecture("_M_IX86" x86)
detect_architecture("_M_ARM" ARM)
+ detect_architecture("_M_ARM64" ARM64)
else()
detect_architecture("__x86_64__" x86_64)
detect_architecture("__i386__" x86)
detect_architecture("__arm__" ARM)
+ detect_architecture("__aarch64__" ARM64)
endif()
endif()