mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-02 04:38:04 +00:00
VS: Fix VS 2017 Windows Store toolset selection
VS 2017 uses the `v141` toolset, not `v140`.
This commit is contained in:
committed by
Brad King
parent
efdfc26e14
commit
d47bda00b2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user