mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
windows fix
This commit is contained in:
parent
e04c446b1c
commit
abee07ef0d
@ -416,6 +416,7 @@ if (COMPILER=="MSVC"):
|
|||||||
if (PkgSkip("PYTHON")==0):
|
if (PkgSkip("PYTHON")==0):
|
||||||
IncDirectory("ALWAYS", SDK["PYTHON"] + "/include")
|
IncDirectory("ALWAYS", SDK["PYTHON"] + "/include")
|
||||||
LibDirectory("ALWAYS", SDK["PYTHON"] + "/libs")
|
LibDirectory("ALWAYS", SDK["PYTHON"] + "/libs")
|
||||||
|
SmartPkgEnable("EIGEN", "", (), ("Eigen/Dense",), target_pkg = 'ALWAYS')
|
||||||
for pkg in PkgListGet():
|
for pkg in PkgListGet():
|
||||||
if (PkgSkip(pkg)==0):
|
if (PkgSkip(pkg)==0):
|
||||||
if (pkg[:4]=="MAYA"):
|
if (pkg[:4]=="MAYA"):
|
||||||
|
@ -1403,7 +1403,8 @@ def SdkLocateDirectX( strMode = 'default' ):
|
|||||||
SDK["DX9"] = dir.replace("\\", "/").rstrip("/")
|
SDK["DX9"] = dir.replace("\\", "/").rstrip("/")
|
||||||
print '\t\t\tFound default Dx9 Sdk from the uninstaller keys in the registery'
|
print '\t\t\tFound default Dx9 Sdk from the uninstaller keys in the registery'
|
||||||
if ("DX9" not in SDK):
|
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':
|
elif strMode == 'jun2010':
|
||||||
if ("DX9" not in SDK):
|
if ("DX9" not in SDK):
|
||||||
dir = GetRegistryKey("SOFTWARE\\Wow6432Node\\Microsoft\\DirectX\\Microsoft DirectX SDK (June 2010)", "InstallPath")
|
dir = GetRegistryKey("SOFTWARE\\Wow6432Node\\Microsoft\\DirectX\\Microsoft DirectX SDK (June 2010)", "InstallPath")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user