Removed dependency on GLUT.
This commit is contained in:
parent
5eaf95ed0f
commit
ca5c93a983
@ -112,9 +112,9 @@ IF(DYNAMIC_OPENSCENEGRAPH)
|
||||
ADD_SUBDIRECTORY(osgpdf)
|
||||
ENDIF(POPPLER_FOUND AND CAIRO_FOUND)
|
||||
|
||||
IF (XUL_FOUND AND GTKGL_FOUND AND GLUT_FOUND)
|
||||
IF (XUL_FOUND AND GTKGL_FOUND)
|
||||
ADD_SUBDIRECTORY(osgbrowser)
|
||||
ENDIF(XUL_FOUND AND GTKGL_FOUND AND GLUT_FOUND)
|
||||
ENDIF(XUL_FOUND AND GTKGL_FOUND)
|
||||
|
||||
|
||||
IF (BUILD_OSG_WRAPPERS)
|
||||
|
@ -21,8 +21,7 @@ ADD_DEFINITIONS(-DMOZILLA_INTERNAL_API)
|
||||
# MESSAGE("XUL_LIBRARIES = " ${XUL_LIBRARIES})
|
||||
# MESSAGE("XUL_INCLUDE_DIRS = " ${XUL_INCLUDE_DIRS})
|
||||
|
||||
INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR}
|
||||
${GTK_INCLUDE_DIRS} ${GTKGL_INCLUDE_DIRS}
|
||||
INCLUDE_DIRECTORIES(${GTK_INCLUDE_DIRS}
|
||||
${XUL_INCLUDE_DIRS}
|
||||
/usr/include/xulrunner/locale
|
||||
/usr/include/xulrunner/view
|
||||
@ -47,7 +46,7 @@ INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR}
|
||||
/usr/include/xulrunner/xpconnect
|
||||
)
|
||||
LINK_DIRECTORIES( ${XUL_LIB_DIRS})
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${XUL_LIBRARIES} ${GLUT_glut_LIBRARY})
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${XUL_LIBRARIES})
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_EXAMPLE(osgbrowser)
|
||||
|
Loading…
Reference in New Issue
Block a user