diff options
| author | 2018-08-14 21:46:53 -0400 | |
|---|---|---|
| committer | 2018-08-14 21:46:53 -0400 | |
| commit | 8dc440758682e04f1a9443f2eced23388a988f1d (patch) | |
| tree | 946cb4673fd36d401b70736ad3f99dc3dd8388b6 | |
| parent | Merge pull request #1062 from lioncash/unused (diff) | |
| parent | CMakeLists: Add architecture detection for AArch64 (diff) | |
| download | yuzu-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.txt | 2 |
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() |
| 74 | endif() | 76 | endif() |
| 75 | 77 | ||