yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #1066 from lioncash/aarch64

CMakeLists: Add architecture detection for AArch64
This commit is contained in:
bunnei 2018-08-14 21:46:53 -04:00 committed by GitHub
commit 8dc4407586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -66,10 +66,12 @@ if (NOT ENABLE_GENERIC)
detect_architecture("_M_AMD64" x86_64) detect_architecture("_M_AMD64" x86_64)
detect_architecture("_M_IX86" x86) detect_architecture("_M_IX86" x86)
detect_architecture("_M_ARM" ARM) detect_architecture("_M_ARM" ARM)
detect_architecture("_M_ARM64" ARM64)
else() else()
detect_architecture("__x86_64__" x86_64) detect_architecture("__x86_64__" x86_64)
detect_architecture("__i386__" x86) detect_architecture("__i386__" x86)
detect_architecture("__arm__" ARM) detect_architecture("__arm__" ARM)
detect_architecture("__aarch64__" ARM64)
endif() endif()
endif() endif()