Changed osgbrowser example to use a local CMakeModules/FindXUL.cmake script,

and specialization of GTK dependencies to only non Windows/OSX platforms.
This commit is contained in:
Robert Osfield
2008-11-18 23:38:18 +00:00
parent a36ff70df4
commit 297dd32011
5 changed files with 199 additions and 37 deletions

View File

@@ -112,10 +112,11 @@ IF(DYNAMIC_OPENSCENEGRAPH)
ADD_SUBDIRECTORY(osgpdf)
ENDIF(POPPLER_FOUND AND CAIRO_FOUND)
IF (XUL_FOUND AND GTKGL_FOUND)
ADD_SUBDIRECTORY(osgbrowser)
ENDIF(XUL_FOUND AND GTKGL_FOUND)
IF(XUL_FOUND)
IF (WIN32 OR APPLE OR GTK_FOUND)
ADD_SUBDIRECTORY(osgbrowser)
ENDIF(WIN32 OR APPLE OR GTK_FOUND)
ENDIF(XUL_FOUND)
IF (BUILD_OSG_WRAPPERS)
ADD_SUBDIRECTORY(osgintrospection)