mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
5adbe4c66f
svn path=/trunk/playground/graphics/okular/; revision=603923
24 lines
700 B
CMake
24 lines
700 B
CMake
include_directories(
|
|
${POPPLER_INCLUDE_DIR}/poppler
|
|
${CMAKE_BINARY_DIR}/okular
|
|
${CMAKE_SOURCE_DIR}/okular
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_poppler_PART_SRCS generator_pdf.cpp )
|
|
|
|
kde4_automoc(${okularGenerator_poppler_PART_SRCS})
|
|
|
|
kde4_add_plugin(okularGenerator_poppler WITH_PREFIX ${okularGenerator_poppler_PART_SRCS})
|
|
|
|
target_link_libraries(okularGenerator_poppler ${POPPLER_LIBRARY} okularcore ${KDE4_KDEPRINT_LIBS} m )
|
|
|
|
install(TARGETS okularGenerator_poppler DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES libokularGenerator_poppler.desktop okularPoppler.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|