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
This commit is contained in:
Michael Pyne 2008-01-27 05:57:50 +00:00
parent 97b0fe6bdf
commit 9279a99a07

View file

@ -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