diff options
author | Minmin Gong <gongminmin@msn.com> | 2017-09-02 04:06:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-12 13:54:29 (GMT) |
commit | bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5 (patch) | |
tree | 86395272041689ead3e1bc6f2a062cece8861cc5 /Modules/CMakeGenericSystem.cmake | |
parent | 3f8c6cab4bb4a9f68708c11a38e4487dad363e38 (diff) | |
download | CMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.zip CMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.tar.gz CMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.tar.bz2 |
MSVC: Add support for ARM64 architecture
Visual Studio 15.4 adds support for this architecture.
Fixes: #17213
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") |