summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-14 21:46:53 -0400
committerGravatar GitHub2018-08-14 21:46:53 -0400
commit8dc440758682e04f1a9443f2eced23388a988f1d (patch)
tree946cb4673fd36d401b70736ad3f99dc3dd8388b6
parentMerge pull request #1062 from lioncash/unused (diff)
parentCMakeLists: Add architecture detection for AArch64 (diff)
downloadyuzu-8dc440758682e04f1a9443f2eced23388a988f1d.tar.gz
yuzu-8dc440758682e04f1a9443f2eced23388a988f1d.tar.xz
yuzu-8dc440758682e04f1a9443f2eced23388a988f1d.zip
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)
66 detect_architecture("_M_AMD64" x86_64) 66 detect_architecture("_M_AMD64" x86_64)
67 detect_architecture("_M_IX86" x86) 67 detect_architecture("_M_IX86" x86)
68 detect_architecture("_M_ARM" ARM) 68 detect_architecture("_M_ARM" ARM)
69 detect_architecture("_M_ARM64" ARM64)
69 else() 70 else()
70 detect_architecture("__x86_64__" x86_64) 71 detect_architecture("__x86_64__" x86_64)
71 detect_architecture("__i386__" x86) 72 detect_architecture("__i386__" x86)
72 detect_architecture("__arm__" ARM) 73 detect_architecture("__arm__" ARM)
74 detect_architecture("__aarch64__" ARM64)
73 endif() 75 endif()
74endif() 76endif()
75 77