summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-06-24 14:19:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-06-24 14:19:43 (GMT)
commit8a5583e37f209aebfd5a874d5ff631086c043e05 (patch)
tree57453e51e3958888011e7863f2e1608b1c915061 /Source
parentb14218c9f602dbf215b922fb7fc529984878fe07 (diff)
parentdfe0f3f358cb75f42ca43d7abb229324d10a90f1 (diff)
downloadCMake-8a5583e37f209aebfd5a874d5ff631086c043e05.zip
CMake-8a5583e37f209aebfd5a874d5ff631086c043e05.tar.gz
CMake-8a5583e37f209aebfd5a874d5ff631086c043e05.tar.bz2
Merge topic 'vs-17.11' into release-3.30
dfe0f3f358 VS: Fix '-T version=14.4x' under VS 17.1x Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9622
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 7abe75a..51d6d8a 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -225,10 +225,8 @@ bool cmGlobalVisualStudio10Generator::SetGeneratorToolset(
versionToolsetRegex.match(2));
// Hard-code special cases for toolset versions whose first
// three digits do not match their toolset name.
- if (platformToolset == "v143"_s && versionToolset == "v144"_s &&
- // VS 17.10 toolset v143 version 14.40.
- (this->GeneratorToolsetVersion == "14.40"_s ||
- cmHasLiteralPrefix(this->GeneratorToolsetVersion, "14.40."))) {
+ // The v143 toolset reserves versions 14.30 through 14.49.
+ if (platformToolset == "v143"_s && versionToolset == "v144"_s) {
versionToolset = "v143";
}
} else {