You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
912 B
29 lines
912 B
include_directories( |
|
${CMAKE_BINARY_DIR}/okular |
|
${CMAKE_CURRENT_SOURCE_DIR}/../.. |
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/plucker/unpluck |
|
${JPEG_INCLUDE_DIR} |
|
${ZLIB_INCLUDE_DIR} |
|
) |
|
|
|
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 |
|
) |
|
|
|
okular_add_generator(okularGenerator_plucker ${okularGenerator_plucker_SRCS} ${qunpluck_SRCS}) |
|
|
|
target_link_libraries(okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n ${MATH_LIB} ${JPEG_LIBRARY} ${ZLIB_LIBRARY}) |
|
|
|
########### install files ############### |
|
install( FILES okularPlucker.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |
|
install( PROGRAMS okularApplication_plucker.desktop org.kde.mobile.okular_plucker.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
|
|