mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Make CgGL optional if Cg wasn't found
This commit is contained in:
parent
3f6192c963
commit
c2be49507f
@ -413,7 +413,8 @@ if (COMPILER=="LINUX"):
|
|||||||
PkgEnable("WX", tool = "wx-config")
|
PkgEnable("WX", tool = "wx-config")
|
||||||
if (sys.platform != "darwin"):
|
if (sys.platform != "darwin"):
|
||||||
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
||||||
PkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h", framework = "CgGL")
|
if (PkgSkip("NVIDIACG")==0):
|
||||||
|
PkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h")
|
||||||
PkgEnable("X11", "x11", "X11", "Xlib.h")
|
PkgEnable("X11", "x11", "X11", "Xlib.h")
|
||||||
PkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h")
|
PkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user