mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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:]
|
||||
if (libname in GetLibCache()):
|
||||
return libname
|
||||
else:
|
||||
print GetColor("cyan") + "Couldn't find library lib" + libname + GetColor()
|
||||
if (len(libs) > 0):
|
||||
print GetColor("cyan") + "Couldn't find any of the libraries " + ", ".join(libs) + GetColor()
|
||||
return libs[0]
|
||||
|
||||
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