not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / containments / desktop / CMakeLists.txt
blob9ede32989b8a97fc8e63e32e87afed663d7bb66b
1 set(desktop_SRCS
2     desktop.cpp
3     itemspace.cpp
4     desktoplayout.cpp)
6 set(krunner_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.kde.krunner.App.xml)
7 QT4_ADD_DBUS_INTERFACE(desktop_SRCS ${krunner_xml} krunner_interface)
9 set(screensaver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.freedesktop.ScreenSaver.xml)
10 QT4_ADD_DBUS_INTERFACE(desktop_SRCS ${screensaver_xml} screensaver_interface)
12 kde4_add_plugin(plasma_containment_desktop ${desktop_SRCS})
13 if(WIN32)
14 target_link_libraries(plasma_containment_desktop ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})
15 else(WIN32)
16 target_link_libraries(plasma_containment_desktop ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} )
17 endif(WIN32)
19 install(TARGETS plasma_containment_desktop DESTINATION ${PLUGIN_INSTALL_DIR})
20 install(FILES plasma-containment-desktop.desktop DESTINATION ${SERVICES_INSTALL_DIR})
21 install(FILES plasma_desktop_containment.kwinrules DESTINATION ${DATA_INSTALL_DIR}/kwin/default_rules)