2017-08-30 21:07:03 +00:00
|
|
|
remove_definitions(-DTRANSLATION_DOMAIN="okular")
|
2017-08-29 23:25:54 +00:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="okular_fax")
|
|
|
|
|
2008-09-19 09:21:20 +00:00
|
|
|
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)
|
2008-09-19 09:21:20 +00:00
|
|
|
|
2015-11-28 19:24:41 +00:00
|
|
|
okular_add_generator(okularGenerator_fax ${okularGenerator_fax_PART_SRCS})
|
2008-09-19 09:21:20 +00:00
|
|
|
|
2015-04-14 19:04:26 +00:00
|
|
|
target_link_libraries(okularGenerator_fax okularcore KF5::I18n Qt5::Xml)
|
2008-09-19 09:21:20 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
2016-07-21 21:05:54 +00:00
|
|
|
install( FILES okularFax.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
2015-08-05 14:53:56 +00:00
|
|
|
install( PROGRAMS okularApplication_fax.desktop org.kde.mobile.okular_fax.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
2016-11-04 21:47:28 +00:00
|
|
|
install( FILES org.kde.okular-fax.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|