Fixes for compile issues with static X11 and OpenCV builds

This commit is contained in:
rdb 2009-12-24 10:27:28 +00:00
parent 1611842d46
commit 19e7de101a

View File

@ -465,7 +465,7 @@ if (COMPILER=="LINUX"):
# 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
if (PkgSkip("NVIDIACG")==0 and not RUNTIME): if (PkgSkip("NVIDIACG")==0 and not RUNTIME):
SmartPkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h") SmartPkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h")
SmartPkgEnable("X11", "x11", "X11", ("X11", "X11/Xlib.h")) SmartPkgEnable("X11", ("x11", "xcb", "xau"), ("X11", "xcb", "Xau"), ("X11", "X11/Xlib.h"))
if (not RUNTIME): if (not RUNTIME):
SmartPkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h") SmartPkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h")
@ -2663,7 +2663,7 @@ if (not RUNTIME):
# #
if (not RUNTIME): if (not RUNTIME):
OPTS=['DIR:panda/src/vision', 'BUILDING:VISION', 'ARTOOLKIT', 'OPENCV', 'DX9', 'DIRECTCAM'] OPTS=['DIR:panda/src/vision', 'BUILDING:VISION', 'ARTOOLKIT', 'OPENCV', 'DX9', 'DIRECTCAM', 'JPEG']
TargetAdd('vision_composite1.obj', opts=OPTS, input='vision_composite1.cxx') TargetAdd('vision_composite1.obj', opts=OPTS, input='vision_composite1.cxx')
IGATEFILES=GetDirectoryContents('panda/src/vision', ["*.h", "*_composite.cxx"]) IGATEFILES=GetDirectoryContents('panda/src/vision', ["*.h", "*_composite.cxx"])
TargetAdd('libvision.in', opts=OPTS, input=IGATEFILES) TargetAdd('libvision.in', opts=OPTS, input=IGATEFILES)