mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Forgot this
This commit is contained in:
parent
e817b01914
commit
8ea821160a
@ -546,16 +546,16 @@ if (COMPILER=="LINUX"):
|
||||
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
||||
if (PkgSkip("NVIDIACG")==0 and not RUNTIME):
|
||||
SmartPkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h")
|
||||
SmartPkgEnable("X11", "x11", "X11", ("X11", "X11/Xlib.h"))
|
||||
if (not RUNTIME):
|
||||
SmartPkgEnable("X11", "x11", "X11", ("X11", "X11/Xlib.h"))
|
||||
SmartPkgEnable("XRANDR", "xrandr", "Xrandr", "X11/extensions/Xrandr.h")
|
||||
SmartPkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h")
|
||||
|
||||
if (RUNTIME):
|
||||
# For the runtime, all packages are required
|
||||
for pkg in ["OPENSSL", "ZLIB", "NPAPI", "JPEG", "X11", "PNG"]:
|
||||
for pkg in ["OPENSSL", "ZLIB", "NPAPI", "JPEG", "PNG"]:
|
||||
if (pkg in PkgListGet() and PkgSkip(pkg)==1):
|
||||
exit("Runtime must be compiled with OpenSSL, ZLib, NPAPI, JPEG, X11 and PNG support!")
|
||||
exit("Runtime must be compiled with OpenSSL, ZLib, NPAPI, JPEG and PNG support!")
|
||||
|
||||
if (not RUNTIME and not LocateBinary("bison")):
|
||||
exit("Could not locate bison!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user