mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 11:52:54 +00:00

for build with Katie that means one less library to build and ship since only KolourPaint is using it now, the pattern wallpaper addon was ported in the previous commit Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
45 lines
1.3 KiB
CMake
45 lines
1.3 KiB
CMake
include_directories(
|
|
${CMAKE__SOURCE_DIR}/../..
|
|
${CMAKE_BINARY_DIR}
|
|
${KEXIV2_INCLUDE_DIR}
|
|
)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(okularGenerator_kimgio_PART_SRCS generator_kimgio.cpp )
|
|
|
|
|
|
kde4_add_plugin(okularGenerator_kimgio ${okularGenerator_kimgio_PART_SRCS})
|
|
target_link_libraries(okularGenerator_kimgio
|
|
okularcore
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KIO_LIBS}
|
|
${KDE4_KEXIV2_LIBS}
|
|
${QT_QTXML_LIBRARY}
|
|
)
|
|
install(TARGETS okularGenerator_kimgio DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
if(ENABLE_TESTING)
|
|
set( kimgiotest_SRCS tests/kimgiotest.cpp
|
|
${PROJECT_SOURCE_DIR}/ui/pagepainter.cpp
|
|
${PROJECT_SOURCE_DIR}/ui/guiutils.cpp
|
|
)
|
|
kde4_add_kcfg_files(kimgiotest_SRCS ${PROJECT_SOURCE_DIR}/conf/settings.kcfgc )
|
|
kde4_add_test( kimgiotest ${kimgiotest_SRCS})
|
|
target_link_libraries(kimgiotest
|
|
${KDE4_KDECORE_LIBS}
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KIO_LIBS}
|
|
${QT_QTGUI_LIBRARY}
|
|
${QT_QTTEST_LIBRARY}
|
|
okularcore
|
|
)
|
|
endif()
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES libokularGenerator_kimgio.desktop okularKimgio.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( PROGRAMS okularApplication_kimgio.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
|
|
#install( FILES gui.rc DESTINATION ${DATA_INSTALL_DIR}/okular_kimgio )
|