mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Merge branch 'release/1.10.x'
This commit is contained in:
commit
25a468ba12
@ -658,6 +658,22 @@ if (COMPILER == "MSVC"):
|
||||
else:
|
||||
LibName("TIFF", GetThirdpartyDir() + "tiff/lib/tiff.lib")
|
||||
if (PkgSkip("OPENEXR")==0):
|
||||
if os.path.isfile(GetThirdpartyDir() + "openexr/lib/OpenEXRCore-3_1.lib"):
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/OpenEXR-3_1.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/IlmThread-3_1.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Imath-3_1.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Iex-3_1.lib")
|
||||
elif os.path.isfile(GetThirdpartyDir() + "openexr/lib/OpenEXR-3_0.lib"):
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/OpenEXR-3_0.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/IlmThread-3_0.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Imath-3_0.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Iex-3_0.lib")
|
||||
elif os.path.isfile(GetThirdpartyDir() + "openexr/lib/OpenEXR.lib"):
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/OpenEXR.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/IlmThread.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Imath.lib")
|
||||
LibName("OPENEXR", GetThirdpartyDir() + "openexr/lib/Iex.lib")
|
||||
else:
|
||||
suffix = ""
|
||||
if os.path.isfile(GetThirdpartyDir() + "openexr/lib/IlmImf-2_2.lib"):
|
||||
suffix = "-2_2"
|
||||
|
@ -635,6 +635,9 @@ def oscmd(cmd, ignoreError = False, cwd=None):
|
||||
|
||||
res = os.spawnl(os.P_WAIT, exe_path, cmd)
|
||||
|
||||
if res == -1073741510: # 0xc000013a
|
||||
exit("keyboard interrupt")
|
||||
|
||||
if cwd is not None:
|
||||
os.chdir(pwd)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user