mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix when passing custom incdir/libdir for Eigen
This commit is contained in:
parent
946c1e986d
commit
2680680df0
@ -1552,7 +1552,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None,
|
||||
if (have_all_pkgs):
|
||||
return
|
||||
|
||||
if pkgconfig is not None and not libs:
|
||||
if not custom_loc and pkgconfig is not None and not libs:
|
||||
# pkg-config is all we can do, abort if it wasn't found.
|
||||
if pkg in PkgListGet():
|
||||
print("%sWARNING:%s Could not locate pkg-config package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig))
|
||||
|
Loading…
x
Reference in New Issue
Block a user