Browse Source

Merge branch 'vs2017-sdk-detection' into release

Brad King 8 years ago
parent
commit
341486fd09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmGlobalVisualStudio15Generator.cxx

+ 1 - 1
Source/cmGlobalVisualStudio15Generator.cxx

@@ -164,7 +164,7 @@ bool cmGlobalVisualStudio15Generator::IsWin81SDKInstalled() const
         "HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\"
         "Windows Kits\\Installed Roots;KitsRoot81",
         win81Root, cmSystemTools::KeyWOW64_32)) {
-    return true;
+    return cmSystemTools::FileExists(win81Root + "/um/windows.h", true);
   }
   return false;
 }