r16769 by craig - Only use POPPLER_INCLUDE_DIR if we have poppler

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 7 19:48:45 UTC 2011


Author: craig
Date: Sun Aug  7 19:48:45 2011
New Revision: 16769

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16769
Log:
Only use POPPLER_INCLUDE_DIR if we have poppler

Modified:
    trunk/Scribus/CMakeLists.txt

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16769&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Sun Aug  7 19:48:45 2011
@@ -825,8 +825,13 @@
   ${OPENGL_INCLUDE_DIR}
   ${OSG_INCLUDE_DIR}
   ${GSL_INCLUDE_DIR}
-  ${POPPLER_INCLUDE_DIR}
 )
+
+IF (HAVE_POPPLER)
+  INCLUDE_DIRECTORIES(
+	${POPPLER_INCLUDE_DIR}
+  )
+ENDIF (HAVE_POPPLER)
 
 ##############################################################################################################
 ########## Uninstall Setup                                                                          ##########




More information about the scribus-commit mailing list