From a02654339b84e6cc1c1b65e1d4f3a854ef51488a Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 11 Dec 2020 08:34:44 -0500 Subject: [PATCH] - use TargetArch.cmake to detect arm64, specifically --- cmake/TargetArch.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/TargetArch.cmake b/cmake/TargetArch.cmake index 357bf3130..5b37fe0f4 100644 --- a/cmake/TargetArch.cmake +++ b/cmake/TargetArch.cmake @@ -48,6 +48,8 @@ set(archdetect_c_code " #elif defined(__ARM_ARCH_5TEJ__) \\ || (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 5) #error cmake_ARCH armv5 + #elif defined(_M_ARM64) || defined (__aarch64__) + #error cmake_ARCH arm64 #else #error cmake_ARCH arm #endif