summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioVersionedGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-14 14:05:50 -0400
committerBrad King <brad.king@kitware.com>2021-07-15 13:12:55 -0400
commit0c7f918fb1100c96e043c2f7c13732553b746ced (patch)
treead4c9037efe359e109a3db0913cdd4ed6ac2f7c4 /Source/cmGlobalVisualStudioVersionedGenerator.cxx
parent1ac1436b25bc65b47ec037c98956ac480bcbed05 (diff)
downloadcmake-0c7f918fb1100c96e043c2f7c13732553b746ced.tar.gz
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 4fab0b930b..79c06d6a15 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 "";
}