diff options
author | Brad King <brad.king@kitware.com> | 2021-05-27 20:50:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-27 21:06:27 (GMT) |
commit | a60141feaafcbbe3c46211095ec71c797e6fbcd4 (patch) | |
tree | 7aa2a695de950745d0ff924bcf05ff0f323ece7f /Source/cmGlobalVisualStudioVersionedGenerator.cxx | |
parent | 13d112ea03f2b068da1f7ac3239a42a6cff94eda (diff) | |
download | CMake-a60141feaafcbbe3c46211095ec71c797e6fbcd4.zip CMake-a60141feaafcbbe3c46211095ec71c797e6fbcd4.tar.gz CMake-a60141feaafcbbe3c46211095ec71c797e6fbcd4.tar.bz2 |
VS: Add special case for '-T version=14.29.16.10' under VS 16.10
Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T
version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1). Add a special
case for the name VS 16.11 will use for VS 16.10's default toolset, so
that it can be used with VS 16.10 too.
Using '-T version=14.29.16.10' actually works under VS 16.10 without
this change, but only because there is only one 14.29 toolset so the
two-component prefix happens to match the right one. Make it explicit.
Issue: #21922
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioVersionedGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.cxx b/Source/cmGlobalVisualStudioVersionedGenerator.cxx index 9a9a465..c11ab1b 100644 --- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx +++ b/Source/cmGlobalVisualStudioVersionedGenerator.cxx @@ -504,6 +504,9 @@ cmGlobalVisualStudioVersionedGenerator::FindAuxToolset( if (version == "14.28.16.9" && vcToolsetVersion == "14.28.29910") { return AuxToolset::Default; } + if (version == "14.29.16.10" && vcToolsetVersion == "14.29.30037") { + return AuxToolset::Default; + } // The first two components of the default toolset version typically // match the name used by later VS versions for the SxS props files. |