Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization.

This commit is contained in:
Robert Osfield
2010-11-11 16:51:46 +00:00
parent bda7ef8179
commit 6cc7e109d3
8 changed files with 88 additions and 57 deletions

View File

@@ -93,10 +93,10 @@ IF (NOT DYNAMIC_OPENSCENEGRAPH)
SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_freetype)
ENDIF(FREETYPE_FOUND)
IF(POPPLER_FOUND AND CAIRO_FOUND)
IF(POPPLER_FOUND)
ADD_DEFINITIONS(-DUSE_POPPLER_CAIRO)
SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_pdf)
ENDIF(POPPLER_FOUND AND CAIRO_FOUND)
ENDIF(POPPLER_FOUND)
ENDIF()
IF (WIN32)