mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
26 lines
780 B
CMake
26 lines
780 B
CMake
remove_definitions(-DTRANSLATION_DOMAIN="okular")
|
|
add_definitions(-DTRANSLATION_DOMAIN="okular_markdown")
|
|
|
|
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})
|
|
|
|
target_link_libraries(okularGenerator_md okularcore KF5::I18n KF5::KIOCore ${discount_LIBRARIES})
|
|
|
|
########### 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} )
|
|
|