Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

CMakeLists: Add architecture detection for AArch64

Lioncash3eda70284cf5
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff8385e3a1..59c6107325 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()