mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -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=",
|
"static","host=","debversion=","rpmrelease=","p3dsuffix=","rtdist-version=",
|
||||||
"directx-sdk=", "windows-sdk=", "msvc-version=", "clean", "use-icl",
|
"directx-sdk=", "windows-sdk=", "msvc-version=", "clean", "use-icl",
|
||||||
"universal", "target=", "arch=", "git-commit=", "no-copy-python",
|
"universal", "target=", "arch=", "git-commit=", "no-copy-python",
|
||||||
|
"cggl-incdir=", "cggl-libdir=",
|
||||||
] + removedopts
|
] + removedopts
|
||||||
|
|
||||||
anything = 0
|
anything = 0
|
||||||
@ -257,7 +258,7 @@ def parseopts(args):
|
|||||||
elif (option[2:] in removedopts):
|
elif (option[2:] in removedopts):
|
||||||
Warn("Ignoring removed option %s" % (option))
|
Warn("Ignoring removed option %s" % (option))
|
||||||
else:
|
else:
|
||||||
for pkg in PkgListGet():
|
for pkg in PkgListGet() + ['CGGL']:
|
||||||
if option == "--use-" + pkg.lower():
|
if option == "--use-" + pkg.lower():
|
||||||
PkgEnable(pkg)
|
PkgEnable(pkg)
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user