You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
783 B
27 lines
783 B
|
|
add_subdirectory(data) |
|
|
|
include_directories( |
|
${EPUB_INCLUDE_DIR} |
|
) |
|
|
|
|
|
########### next target ############### |
|
|
|
set(okularGenerator_epub_PART_SRCS |
|
converter.cpp |
|
epubdocument.cpp |
|
generator_epub.cpp |
|
) |
|
|
|
kde4_add_plugin(okularGenerator_epub ${okularGenerator_epub_PART_SRCS}) |
|
|
|
target_link_libraries(okularGenerator_epub okularcore ${EPUB_LIBRARIES} ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY}) |
|
|
|
install(TARGETS okularGenerator_epub DESTINATION ${PLUGIN_INSTALL_DIR}) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES libokularGenerator_epub.desktop okularEPub.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |
|
install( PROGRAMS okularApplication_epub.desktop active-documentviewer_epub.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
|