From a7da251e2df27837130a5a70a1aea3f4eebca81a Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 26 Aug 2008 15:14:47 +0000 Subject: [PATCH] Made PlatformSDK detection a tiny bit smarter --- doc/makepanda/makepandacore.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/makepanda/makepandacore.py b/doc/makepanda/makepandacore.py index 6c88b13e26..f299cbe04a 100644 --- a/doc/makepanda/makepandacore.py +++ b/doc/makepanda/makepandacore.py @@ -717,6 +717,9 @@ def SdkLocateMSPlatform(): if (platsdk == 0): 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): SDK["MSPLATFORM"] = platsdk