diff options
author | Brad King <brad.king@kitware.com> | 2017-09-13 12:36:49 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-13 12:37:02 (GMT) |
commit | 7315a46c8383c48757d9b4a979651230c7e22d2a (patch) | |
tree | c5bcffcb76d9cb42eea0eca0a3e423ecc4566ca6 /Modules/CMakeGenericSystem.cmake | |
parent | 67810849b95acfe036a9a605dbda6f0a3d6f7493 (diff) | |
parent | bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5 (diff) | |
download | CMake-7315a46c8383c48757d9b4a979651230c7e22d2a.zip CMake-7315a46c8383c48757d9b4a979651230c7e22d2a.tar.gz CMake-7315a46c8383c48757d9b4a979651230c7e22d2a.tar.bz2 |
Merge topic 'MsvcArm64'
bc7c94fe MSVC: Add support for ARM64 architecture
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1215
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index cd05237..9c38f6e 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -76,6 +76,8 @@ function(GetDefaultWindowsPrefixBase var) # if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64)") set(arch_hint "x64") + elseif("${CMAKE_GENERATOR_PLATFORM}" MATCHES "ARM64") + set(arch_hint "ARM64") elseif("${CMAKE_GENERATOR}" MATCHES "ARM") set(arch_hint "ARM") elseif("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8") |