Browse Source

Add additional Windows SDK path

Windows 10 SDK binary files are installed in versioned folder from Creator Update (10.0.15063.0)
Younguk Kim 8 years ago
parent
commit
114aee1d6a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      makepanda/makepandacore.py

+ 1 - 0
makepanda/makepandacore.py

@@ -2422,6 +2422,7 @@ def SetupVisualStudioEnviron():
     winsdk_ver = SDK["MSPLATFORM_VERSION"]
     if winsdk_ver.startswith('10.'):
         AddToPathEnv("PATH",    SDK["MSPLATFORM"] + "bin\\" + arch)
+        AddToPathEnv("PATH",    SDK["MSPLATFORM"] + "bin\\" + winsdk_ver + "\\" + arch)
 
         # Windows Kit 10 introduces the "universal CRT".
         inc_dir = SDK["MSPLATFORM"] + "Include\\" + winsdk_ver + "\\"