mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 02:21:26 +00:00
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:
parent
97b0fe6bdf
commit
9279a99a07
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue