summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio15Generator.cxx
diff options
context:
space:
mode:
authorIyyappa Murugandi <iyyappam@microsoft.com>2016-12-15 02:53:30 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-16 14:58:31 (GMT)
commitd47bda00b2e46b3fd6f9e050f3f21b5337ac244b (patch)
tree86ecdb402d92d17351f93659b1963ea40d51f4e6 /Source/cmGlobalVisualStudio15Generator.cxx
parentefdfc26e14b5a4d8b52a1021ffe85418cdfc802f (diff)
downloadCMake-d47bda00b2e46b3fd6f9e050f3f21b5337ac244b.zip
CMake-d47bda00b2e46b3fd6f9e050f3f21b5337ac244b.tar.gz
CMake-d47bda00b2e46b3fd6f9e050f3f21b5337ac244b.tar.bz2
VS: Fix VS 2017 Windows Store toolset selection
VS 2017 uses the `v141` toolset, not `v140`.
Diffstat (limited to 'Source/cmGlobalVisualStudio15Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio15Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.cxx b/Source/cmGlobalVisualStudio15Generator.cxx
index fe4b91c..4299081 100644
--- a/Source/cmGlobalVisualStudio15Generator.cxx
+++ b/Source/cmGlobalVisualStudio15Generator.cxx
@@ -114,7 +114,7 @@ bool cmGlobalVisualStudio15Generator::SelectWindowsStoreToolset(
if (cmHasLiteralPrefix(this->SystemVersion, "10.0")) {
if (this->IsWindowsStoreToolsetInstalled() &&
this->IsWindowsDesktopToolsetInstalled()) {
- toolset = "v140"; // VS 15 uses v140 toolset
+ toolset = "v141"; // VS 15 uses v141 toolset
return true;
} else {
return false;