VS: Fix VS 2017 Windows Store toolset selection

VS 2017 uses the `v141` toolset, not `v140`.
This commit is contained in:
Iyyappa Murugandi
2016-12-14 18:53:30 -08:00
committed by Brad King
parent efdfc26e14
commit d47bda00b2

View File

@@ -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;