windows fix

This commit is contained in:
David Rose 2011-12-19 18:01:27 +00:00
parent e04c446b1c
commit abee07ef0d
2 changed files with 3 additions and 1 deletions

View File

@ -416,6 +416,7 @@ if (COMPILER=="MSVC"):
if (PkgSkip("PYTHON")==0):
IncDirectory("ALWAYS", SDK["PYTHON"] + "/include")
LibDirectory("ALWAYS", SDK["PYTHON"] + "/libs")
SmartPkgEnable("EIGEN", "", (), ("Eigen/Dense",), target_pkg = 'ALWAYS')
for pkg in PkgListGet():
if (PkgSkip(pkg)==0):
if (pkg[:4]=="MAYA"):

View File

@ -1403,7 +1403,8 @@ def SdkLocateDirectX( strMode = 'default' ):
SDK["DX9"] = dir.replace("\\", "/").rstrip("/")
print '\t\t\tFound default Dx9 Sdk from the uninstaller keys in the registery'
if ("DX9" not in SDK):
exit("\t\tCouldn't find a DirectX SDK")
print "\t\tCouldn't find a DirectX SDK"
return
elif strMode == 'jun2010':
if ("DX9" not in SDK):
dir = GetRegistryKey("SOFTWARE\\Wow6432Node\\Microsoft\\DirectX\\Microsoft DirectX SDK (June 2010)", "InstallPath")