mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Made PlatformSDK detection a tiny bit smarter
This commit is contained in:
parent
fc3c5b717a
commit
a7da251e2d
@ -717,6 +717,9 @@ def SdkLocateMSPlatform():
|
|||||||
if (platsdk == 0):
|
if (platsdk == 0):
|
||||||
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.1","InstallationFolder")
|
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.1","InstallationFolder")
|
||||||
|
|
||||||
|
if (platsdk == 0 and os.path.isdir("C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK")):
|
||||||
|
platsdk = "C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\"
|
||||||
|
|
||||||
if (platsdk != 0):
|
if (platsdk != 0):
|
||||||
SDK["MSPLATFORM"] = platsdk
|
SDK["MSPLATFORM"] = platsdk
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user