summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioVersionedGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-14 18:05:50 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-15 17:12:55 (GMT)
commit0c7f918fb1100c96e043c2f7c13732553b746ced (patch)
treead4c9037efe359e109a3db0913cdd4ed6ac2f7c4 /Source/cmGlobalVisualStudioVersionedGenerator.cxx
parent1ac1436b25bc65b47ec037c98956ac480bcbed05 (diff)
downloadCMake-0c7f918fb1100c96e043c2f7c13732553b746ced.zip
CMake-0c7f918fb1100c96e043c2f7c13732553b746ced.tar.gz
CMake-0c7f918fb1100c96e043c2f7c13732553b746ced.tar.bz2
VS: Update Visual Studio 17 2022 generator for Preview 2
In particular, update to toolset `v143`. Fixes: #22339
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.cxx b/Source/cmGlobalVisualStudioVersionedGenerator.cxx
index 4fab0b9..79c06d6 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.cxx
@@ -104,8 +104,7 @@ static const char* VSVersionToToolset(
case cmGlobalVisualStudioGenerator::VS16:
return "v142";
case cmGlobalVisualStudioGenerator::VS17:
- // FIXME: VS 2022 Preview 1 uses v142. Will it be v143 later?
- return "v142";
+ return "v143";
}
return "";
}