mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Set WindowsSdkDir as well
This commit is contained in:
parent
5de0684daf
commit
e47b82c37a
@ -1015,6 +1015,7 @@ def SetupVisualStudioEnviron():
|
|||||||
if ("MSPLATFORM" not in SDK):
|
if ("MSPLATFORM" not in SDK):
|
||||||
exit("Could not find the Microsoft Platform SDK")
|
exit("Could not find the Microsoft Platform SDK")
|
||||||
os.environ["VCINSTALLDIR"] = SDK["VISUALSTUDIO"] + "VC"
|
os.environ["VCINSTALLDIR"] = SDK["VISUALSTUDIO"] + "VC"
|
||||||
|
os.environ["WindowsSdkDir"] = SDK["MSPLATFORM"]
|
||||||
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "VC\\bin")
|
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "VC\\bin")
|
||||||
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "Common7\\IDE")
|
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "Common7\\IDE")
|
||||||
AddToPathEnv("INCLUDE", SDK["VISUALSTUDIO"] + "VC\\include")
|
AddToPathEnv("INCLUDE", SDK["VISUALSTUDIO"] + "VC\\include")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user