1 project(plasma-lockout)
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})
15 target_link_libraries(plasma_applet_lockout kworkspace)
18 install(TARGETS plasma_applet_lockout DESTINATION ${PLUGIN_INSTALL_DIR})
19 install(FILES plasma-applet-lockout.desktop DESTINATION ${SERVICES_INSTALL_DIR})