diff options
author | WangBin <wbsecg1@gmail.com> | 2021-08-11 23:14:22 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-08-18 14:09:33 -0400 |
commit | 164643fc3994f7fca09d4974cb097ec3d418cd53 (patch) | |
tree | dce003ffbfc0a84ab42a9953681aff00aac61e5d | |
parent | 3de5096094b440b75887467a79e04eaafb2ba236 (diff) | |
download | cmake-164643fc3994f7fca09d4974cb097ec3d418cd53.tar.gz |
Android: Fix NDK toolchain dir on arm64 mac
-rw-r--r-- | Modules/Platform/Android-Determine.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Android-Determine.cmake b/Modules/Platform/Android-Determine.cmake index 2d2cd5c72b..7b67f839ec 100644 --- a/Modules/Platform/Android-Determine.cmake +++ b/Modules/Platform/Android-Determine.cmake @@ -267,7 +267,7 @@ endif() if(CMAKE_ANDROID_NDK) # Identify the host platform. if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") - if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") + if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "64") set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "darwin-x86_64") else() set(CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG "darwin-x86") |