mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
makepanda: support --cggl-incdir and --cggl-libdir options
It's quite hacky right now, but that doesn't matter as we're switching to CMake anyway
This commit is contained in:
parent
9431d5013f
commit
54ff2a8dda
@ -188,6 +188,7 @@ def parseopts(args):
|
||||
"static","host=","debversion=","rpmrelease=","p3dsuffix=","rtdist-version=",
|
||||
"directx-sdk=", "windows-sdk=", "msvc-version=", "clean", "use-icl",
|
||||
"universal", "target=", "arch=", "git-commit=", "no-copy-python",
|
||||
"cggl-incdir=", "cggl-libdir=",
|
||||
] + removedopts
|
||||
|
||||
anything = 0
|
||||
@ -257,7 +258,7 @@ def parseopts(args):
|
||||
elif (option[2:] in removedopts):
|
||||
Warn("Ignoring removed option %s" % (option))
|
||||
else:
|
||||
for pkg in PkgListGet():
|
||||
for pkg in PkgListGet() + ['CGGL']:
|
||||
if option == "--use-" + pkg.lower():
|
||||
PkgEnable(pkg)
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user