diff options
author | Niyas Sait <niyas.sait@linaro.org> | 2022-05-15 17:15:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-19 13:57:54 (GMT) |
commit | af6928ce92783c1583f8f9ae25e50c2991ebd0c0 (patch) | |
tree | 06ed0a61973f13de1a07a4b2a6b785e1a78c2919 /Source/cmGlobalVisualStudio12Generator.cxx | |
parent | dc3d0b5a0a7d26d43d6cfeb511e224533b5d188f (diff) | |
download | CMake-af6928ce92783c1583f8f9ae25e50c2991ebd0c0.zip CMake-af6928ce92783c1583f8f9ae25e50c2991ebd0c0.tar.gz CMake-af6928ce92783c1583f8f9ae25e50c2991ebd0c0.tar.bz2 |
VS: ARM64 as default toolset architecture for ARM64 host
Visual Studio 2022 17 Preview introduced a native ARM64 toolchain.
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio12Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.cxx b/Source/cmGlobalVisualStudio12Generator.cxx index 12ffa5b..600ee0a 100644 --- a/Source/cmGlobalVisualStudio12Generator.cxx +++ b/Source/cmGlobalVisualStudio12Generator.cxx @@ -138,7 +138,8 @@ bool cmGlobalVisualStudio12Generator::MatchesGeneratorName( bool cmGlobalVisualStudio12Generator::ProcessGeneratorToolsetField( std::string const& key, std::string const& value) { - if (key == "host" && (value == "x64" || value == "x86")) { + if (key == "host" && + (value == "x64" || value == "x86" || value == "ARM64")) { this->GeneratorToolsetHostArchitecture = value; return true; } |