Explorar o código

VS: Fix VS 2017 Windows Store toolset selection

VS 2017 uses the `v141` toolset, not `v140`.
Iyyappa Murugandi %!s(int64=9) %!d(string=hai) anos
pai
achega
d47bda00b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/cmGlobalVisualStudio15Generator.cxx

+ 1 - 1
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;