not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / applets / lock_logout / CMakeLists.txt
blob8e196326c3ea7e79838d38217f6db3cf3f44ad2b
1 project(plasma-lockout)
3 set(lockout_SRCS
4     lockout.cpp)
6 set(screensaver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.freedesktop.ScreenSaver.xml)
7 QT4_ADD_DBUS_INTERFACE(lockout_SRCS ${screensaver_xml} screensaver_interface)
9 set(ksmserver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
10 QT4_ADD_DBUS_INTERFACE(lockout_SRCS ${ksmserver_xml} ksmserver_interface)
12 kde4_add_plugin(plasma_applet_lockout ${lockout_SRCS})
13 target_link_libraries(plasma_applet_lockout ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
14 if(NOT WIN32)
15 target_link_libraries(plasma_applet_lockout kworkspace)
16 endif(NOT WIN32)
18 install(TARGETS plasma_applet_lockout DESTINATION ${PLUGIN_INSTALL_DIR})
19 install(FILES plasma-applet-lockout.desktop DESTINATION ${SERVICES_INSTALL_DIR})