From 9279a99a07e689f08e98e6145a6f26919cd696a1 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 27 Jan 2008 05:57:50 +0000 Subject: [PATCH] Make okular's pdf feature compile here by allowing multiple include paths for the Poppler and Qt4 bindings. svn path=/trunk/KDE/kdegraphics/okular/; revision=766994 --- generators/poppler/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/generators/poppler/CMakeLists.txt b/generators/poppler/CMakeLists.txt index 888896230..956cd9086 100644 --- a/generators/poppler/CMakeLists.txt +++ b/generators/poppler/CMakeLists.txt @@ -20,13 +20,17 @@ configure_file( ${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h ) +# Can be multiple include directories for poppler +separate_arguments(POPPLER_INCLUDE_DIR) +foreach(_include_dir ${POPPLER_INCLUDE_DIR}) + include_directories(${_include_dir}) +endforeach(_include_dir ${POPPLER_INCLUDE_DIR}) + include_directories( - ${POPPLER_INCLUDE_DIR} ${CMAKE_BINARY_DIR}/okular ${CMAKE_CURRENT_SOURCE_DIR}/../.. ) - ########### next target ############### set(okularGenerator_poppler_PART_SRCS