project(plasma-containmentactions-contextmenu) set(contextmenu_SRCS menu.cpp ) set(screensaver_xml ${CMAKE_SOURCE_DIR}/kscreensaver/org.freedesktop.ScreenSaver.xml) QT4_ADD_DBUS_INTERFACE(contextmenu_SRCS ${screensaver_xml} screensaver_interface) kde4_add_plugin(plasma_containmentactions_contextmenu ${contextmenu_SRCS}) target_link_libraries(plasma_containmentactions_contextmenu KDE4::plasma KDE4::kio kworkspace) install(TARGETS plasma_containmentactions_contextmenu DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}) install(FILES plasma-containmentactions-contextmenu.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})