mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
7d15dc1ae6
Remove unnecessary calls Convert necessary calls to target_include_directories
21 lines
788 B
CMake
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} )
|
|
|