okular/generators/djvu/CMakeLists.txt
Nicolas Fella 7d15dc1ae6 Clean up include_directories calls
Remove unnecessary calls

Convert necessary calls to target_include_directories
2021-07-04 00:51:15 +02:00

21 lines
788 B
CMake

remove_definitions(-DTRANSLATION_DOMAIN="okular")
add_definitions(-DTRANSLATION_DOMAIN="okular_djvu")
########### next target ###############
set(okularGenerator_djvu_SRCS
generator_djvu.cpp
kdjvu.cpp
)
okular_add_generator(okularGenerator_djvu ${okularGenerator_djvu_SRCS})
target_include_directories(okularGenerator_djvu PRIVATE ${DJVULIBRE_INCLUDE_DIR})
target_link_libraries(okularGenerator_djvu okularcore ${DJVULIBRE_LIBRARY} KF5::I18n)
########### install files ###############
install( FILES okularDjvu.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_djvu.desktop org.kde.mobile.okular_djvu.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES org.kde.okular-djvu.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )