mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 06:46:01 +00:00
5110d1d3f2
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
28 lines
756 B
CMake
28 lines
756 B
CMake
include_directories(
|
|
${DJVULIBRE_INCLUDE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
|
${CMAKE_BINARY_DIR}/okular
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_djvu_SRCS
|
|
generator_djvu.cpp
|
|
kdjvu.cpp
|
|
)
|
|
|
|
|
|
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} )
|
|
install( FILES okularApplication_djvu.desktop DESTINATION ${XDG_APPS_DIR} )
|
|
|
|
|