okular/generators/fax/CMakeLists.txt

21 lines
793 B
Text
Raw Normal View History

remove_definitions(-DTRANSLATION_DOMAIN="okular")
add_definitions(-DTRANSLATION_DOMAIN="okular_fax")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
########### next target ###############
2015-03-20 07:48:17 +00:00
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} )