summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorIyyappa Murugandi <iyyappam@microsoft.com>2016-12-14 18:53:30 -0800
committerBrad King <brad.king@kitware.com>2016-12-16 09:58:31 -0500
commitd47bda00b2e46b3fd6f9e050f3f21b5337ac244b (patch)
tree86ecdb402d92d17351f93659b1963ea40d51f4e6 /Source
parentefdfc26e14b5a4d8b52a1021ffe85418cdfc802f (diff)
downloadcmake-d47bda00b2e46b3fd6f9e050f3f21b5337ac244b.tar.gz
VS: Fix VS 2017 Windows Store toolset selection
VS 2017 uses the `v141` toolset, not `v140`.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalVisualStudio15Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.cxx b/Source/cmGlobalVisualStudio15Generator.cxx
index fe4b91c8e1..4299081ce5 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;