summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioVersionedGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-24 16:19:18 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-24 18:49:25 (GMT)
commit626c51f47be79c5438cc349f51ba1b4973194bfc (patch)
tree2b7a43b80a1cede0c6caa59e6221d08b0efcc775 /Source/cmGlobalVisualStudioVersionedGenerator.cxx
parentfd45cbf40ee809d6b900f22247fef06e3d349c78 (diff)
downloadCMake-626c51f47be79c5438cc349f51ba1b4973194bfc.zip
CMake-626c51f47be79c5438cc349f51ba1b4973194bfc.tar.gz
CMake-626c51f47be79c5438cc349f51ba1b4973194bfc.tar.bz2
VS: Update for Visual Studio 2019 Preview 2
The toolset is now called `v142`. Use matching flag tables. Fixes: #18834
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 31f585c..a83cc78 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.cxx
@@ -72,8 +72,7 @@ static const char* VSVersionToToolset(
case cmGlobalVisualStudioGenerator::VS15:
return "v141";
case cmGlobalVisualStudioGenerator::VS16:
- // FIXME: VS 2019 Preview 1.1 uses v141 but preview 2 will use v142.
- return "v141";
+ return "v142";
}
return "";
}