summaryrefslogtreecommitdiffstats
path: root/Modules/CMakePlatformId.h.in
diff options
context:
space:
mode:
authorMinmin Gong <gongminmin@msn.com>2017-09-02 04:06:38 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-12 13:54:29 (GMT)
commitbc7c94fe13eeda2b59f5af606a03fdad5a9c29a5 (patch)
tree86395272041689ead3e1bc6f2a062cece8861cc5 /Modules/CMakePlatformId.h.in
parent3f8c6cab4bb4a9f68708c11a38e4487dad363e38 (diff)
downloadCMake-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/CMakePlatformId.h.in')
-rw-r--r--Modules/CMakePlatformId.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index c7065b2..a6a9c0a 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -114,6 +114,9 @@
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
+# elif defined(_M_ARM64)
+# define ARCHITECTURE_ID "ARM64"
+
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"