okular/generators/djvu/CMakeLists.txt
Allen Winter 5110d1d3f2 remove kde4_automoc()
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00

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} )