Added GTK and GLUT guards to osgbrowser include

This commit is contained in:
Robert Osfield 2008-11-14 16:54:07 +00:00
parent b62cb79c7e
commit 2a1f7f0f7a

View File

@ -112,9 +112,9 @@ IF(DYNAMIC_OPENSCENEGRAPH)
ADD_SUBDIRECTORY(osgpdf)
ENDIF(POPPLER_FOUND AND CAIRO_FOUND)
IF (XUL_FOUND)
IF (XUL_FOUND AND GTKGL_FOUND AND GLUT_FOUND)
ADD_SUBDIRECTORY(osgbrowser)
ENDIF(XUL_FOUND)
ENDIF(XUL_FOUND AND GTKGL_FOUND AND GLUT_FOUND)
IF (BUILD_OSG_WRAPPERS)