2017-08-30 21:08:48 +00:00
|
|
|
remove_definitions(-DTRANSLATION_DOMAIN="okular")
|
2017-08-29 23:29:43 +00:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="okular_markdown")
|
|
|
|
|
2017-08-24 23:04:54 +00:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(okularGenerator_md_PART_SRCS
|
|
|
|
converter.cpp
|
|
|
|
generator_md.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
okular_add_generator(okularGenerator_md ${okularGenerator_md_PART_SRCS})
|
|
|
|
|
2018-05-02 20:11:13 +00:00
|
|
|
target_link_libraries(okularGenerator_md PRIVATE okularcore KF5::I18n KF5::KIOCore discount::Lib)
|
2017-08-24 23:04:54 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES okularMd.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
|
|
|
install( PROGRAMS okularApplication_md.desktop org.kde.mobile.okular_md.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
|
|
|
install( FILES org.kde.okular-md.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
|
|
|
|