2017-08-30 21:07:03 +00:00
|
|
|
remove_definitions(-DTRANSLATION_DOMAIN="okular")
|
2017-08-29 23:25:54 +00:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="okular_plucker")
|
|
|
|
|
2007-03-13 00:00:58 +00:00
|
|
|
set(qunpluck_SRCS
|
|
|
|
unpluck/config.cpp
|
|
|
|
unpluck/image.cpp
|
|
|
|
unpluck/qunpluck.cpp
|
|
|
|
unpluck/unpluck.cpp
|
|
|
|
unpluck/util.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(okularGenerator_plucker_SRCS
|
|
|
|
generator_plucker.cpp
|
|
|
|
)
|
|
|
|
|
2015-11-28 19:24:41 +00:00
|
|
|
okular_add_generator(okularGenerator_plucker ${okularGenerator_plucker_SRCS} ${qunpluck_SRCS})
|
2007-03-13 00:00:58 +00:00
|
|
|
|
2021-07-03 22:51:15 +00:00
|
|
|
target_include_directories(okularGenerator_plucker PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/unpluck)
|
2020-12-02 17:57:49 +00:00
|
|
|
target_link_libraries(okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n ${MATH_LIB} JPEG::JPEG ZLIB::ZLIB)
|
2007-03-13 00:00:58 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
2016-07-21 21:05:54 +00:00
|
|
|
install( FILES okularPlucker.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
2015-08-05 14:53:56 +00:00
|
|
|
install( PROGRAMS okularApplication_plucker.desktop org.kde.mobile.okular_plucker.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
2016-11-09 10:30:19 +00:00
|
|
|
install( FILES org.kde.okular-plucker.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|