okular/generators/mobipocket/CMakeLists.txt
Alex Richardson 2f9246ae42 Port to new JSON plugin loading system
This means Okular can now work without ksycoca and KDELibs4Support.

REVIEW: 126193
2016-01-04 15:59:07 +01:00

18 lines
541 B
CMake

include_directories( ${QMOBIPOCKET_INCLUDE_DIR} )
########### next target ###############
set(okularGenerator_mobi_PART_SRCS
mobidocument.cpp
generator_mobi.cpp
converter.cpp
)
okular_add_generator(okularGenerator_mobi ${okularGenerator_mobi_PART_SRCS})
target_link_libraries(okularGenerator_mobi okularcore KF5::KDELibs4Support Qt5::Gui ${QMOBIPOCKET_LIBRARIES})
########### install files ###############
install( PROGRAMS okularApplication_mobi.desktop org.kde.mobile.okular_mobi.desktop DESTINATION ${KDE_INSTALL_APPDIR} )