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:
rdb 2020-02-29 16:55:14 +01:00
parent 9431d5013f
commit 54ff2a8dda

View File

@ -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