mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Don't warn about missing libraries if there are alternative libraries
This commit is contained in:
parent
daadba7e4e
commit
681dc378dc
@ -1040,9 +1040,8 @@ def ChooseLib(*libs):
|
|||||||
libname = l[3:]
|
libname = l[3:]
|
||||||
if (libname in GetLibCache()):
|
if (libname in GetLibCache()):
|
||||||
return libname
|
return libname
|
||||||
else:
|
|
||||||
print GetColor("cyan") + "Couldn't find library lib" + libname + GetColor()
|
|
||||||
if (len(libs) > 0):
|
if (len(libs) > 0):
|
||||||
|
print GetColor("cyan") + "Couldn't find any of the libraries " + ", ".join(libs) + GetColor()
|
||||||
return libs[0]
|
return libs[0]
|
||||||
|
|
||||||
def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, framework = None, target_pkg = None, tool = "pkg-config"):
|
def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, framework = None, target_pkg = None, tool = "pkg-config"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user