1 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../src ${CMAKE_CURRENT_BINARY_DIR}/../src )
4 ########### next target ###############
5 add_definitions(-DKONQPRIVATE_EXPORT=)
7 set(kded_konqy_preloader_PART_SRCS preloader.cc )
9 kde4_add_kcfg_files(kded_konqy_preloader_PART_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../src/konqsettingsxt.kcfgc)
11 qt4_add_dbus_adaptor(kded_konqy_preloader_PART_SRCS org.kde.konqueror.Preloader.xml preloader.h KonqyPreloader)
14 kde4_add_plugin(kded_konqy_preloader ${kded_konqy_preloader_PART_SRCS})
16 target_link_libraries(kded_konqy_preloader ${KDE4_KDEUI_LIBS})
18 install(TARGETS kded_konqy_preloader DESTINATION ${PLUGIN_INSTALL_DIR})
21 ########### install files ###############
23 install(FILES konqy_preload.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
24 install(FILES konqy_preloader.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)
25 install(FILES org.kde.konqueror.Preloader.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )