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.
 
 
 
 
 

35 lines
1.1 KiB

add_subdirectory( conf )
include_directories(
${LIBSPECTRE_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_BINARY_DIR}/../..
)
########### next target ###############
set(okularGenerator_ghostview_SRCS
generator_ghostview.cpp
rendererthread.cpp
)
ki18n_wrap_ui(okularGenerator_ghostview_SRCS
conf/gssettingswidget.ui
)
kconfig_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
add_library(okularGenerator_ghostview MODULE ${okularGenerator_ghostview_SRCS})
target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY} KF5::KDELibs4Support Qt5::Xml Qt5::PrintSupport)
install(TARGETS okularGenerator_ghostview DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_ghostview.desktop okularGhostview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( PROGRAMS okularApplication_ghostview.desktop active-documentviewer_ghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
kde4_install_icons(${DATA_INSTALL_DIR}/okular/icons)