okular/generators/fax/CMakeLists.txt
2017-08-30 23:07:03 +02:00

20 lines
793 B
CMake

remove_definitions(-DTRANSLATION_DOMAIN="okular")
add_definitions(-DTRANSLATION_DOMAIN="okular_fax")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
########### next target ###############
set(okularGenerator_fax_PART_SRCS generator_fax.cpp faxdocument.cpp faxexpand.cpp faxinit.cpp fax_debug.cpp)
okular_add_generator(okularGenerator_fax ${okularGenerator_fax_PART_SRCS})
target_link_libraries(okularGenerator_fax okularcore KF5::I18n Qt5::Xml)
########### install files ###############
install( FILES okularFax.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_fax.desktop org.kde.mobile.okular_fax.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES org.kde.okular-fax.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )