mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
![Julian Wolff](/assets/img/avatar_default.png)
Summary: Adds support for Markdown documents BUG: 360603 Test Plan: Open a Markdown (.md) document in Okular Reviewers: #okular, aacid Reviewed By: #okular, aacid Subscribers: michaelweghorn, aacid Tags: #okular Differential Revision: https://phabricator.kde.org/D7382
23 lines
673 B
CMake
23 lines
673 B
CMake
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} )
|
|
|