mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix minor issue
This commit is contained in:
parent
dc28741f60
commit
11e4f386b7
@ -1130,7 +1130,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None,
|
||||
if (have_all_pkgs):
|
||||
return
|
||||
|
||||
if (pkgconfig != None and libs == None):
|
||||
if (pkgconfig != None and libs != None and len(libs) > 0):
|
||||
if (pkg in PkgListGet()):
|
||||
print "%sWARNING:%s Could not locate package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig)
|
||||
PkgDisable(pkg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user