From ce472144ff6582d3ad2734a2da08a9b138b41241 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 14 Aug 2018 19:04:46 -0400 Subject: [PATCH] CMakeLists: Add architecture detection for AArch64 We already have an equivalent in place for the 32-bit ARM architecture, so we should also have one for the newer 64-bit ARM architecture as well. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1080171501..4ae36f766d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,10 +85,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() if (NOT DEFINED ARCHITECTURE)