mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
5c0de8b638
svn path=/trunk/playground/graphics/okular/; revision=606585
28 lines
714 B
CMake
28 lines
714 B
CMake
include_directories(
|
|
${DJVULIBRE_INCLUDE_DIR}
|
|
${CMAKE_SOURCE_DIR}/okular
|
|
${CMAKE_BINARY_DIR}/okular
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_djvu_SRCS
|
|
generator_djvu.cpp
|
|
kdjvu.cpp
|
|
)
|
|
|
|
kde4_automoc(${okularGenerator_djvu_SRCS})
|
|
|
|
kde4_add_plugin(okularGenerator_djvu WITH_PREFIX ${okularGenerator_djvu_SRCS})
|
|
|
|
target_link_libraries(okularGenerator_djvu okularcore ${DJVULIBRE_LIBRARY} ${KDE4_KDEPRINT_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KDEPRINT_LIBRARY} )
|
|
|
|
install(TARGETS okularGenerator_djvu DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES libokularGenerator_djvu.desktop okularDjvu.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|