makepanda: fix instructions to find Opus thirdparty pkg on Windows

This commit is contained in:
rdb 2018-12-30 20:09:57 +01:00
parent 73083127bf
commit 62781c154b

View File

@ -808,9 +808,12 @@ if (COMPILER == "MSVC"):
path = GetThirdpartyDir() + "vorbis/lib/{0}.lib".format(lib)
LibName("VORBIS", path)
if (PkgSkip("OPUS")==0):
LibName("OPUS", GetThirdpartyDir() + "opus/lib/libogg_static.lib")
LibName("OPUS", GetThirdpartyDir() + "opus/lib/libopus_static.lib")
LibName("OPUS", GetThirdpartyDir() + "opus/lib/libopusfile_static.lib")
IncDirectory("OPUS", GetThirdpartyDir() + "opus/include/opus")
for lib in ('ogg', 'opus', 'opusfile'):
path = GetThirdpartyDir() + "opus/lib/lib{0}_static.lib".format(lib)
if not os.path.isfile(path):
path = GetThirdpartyDir() + "opus/lib/{0}.lib".format(lib)
LibName("OPUS", path)
for pkg in MAYAVERSIONS:
if (PkgSkip(pkg)==0):
LibName(pkg, '"' + SDK[pkg] + '/lib/Foundation.lib"')