kdeconnect-kde/plugins/screensaver-inhibit/CMakeLists.txt
Pramod Dematagoda 0779377337 Added a plugin to inhibit the screensaver when a device is connected.
The inhibition is lifted when the plugin disconnects.

REVIEW: 121692
2014-12-29 23:31:25 -08:00

10 lines
427 B
CMake

set(kdeconnect_screensaver_inhibit_SRCS
screensaverinhibitplugin.cpp
)
kde4_add_plugin(kdeconnect_screensaver_inhibit ${kdeconnect_screensaver_inhibit_SRCS})
target_link_libraries(kdeconnect_screensaver_inhibit kdeconnectcore ${KDE4_KDEUI_LIBS})
install(TARGETS kdeconnect_screensaver_inhibit DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES kdeconnect_screensaver_inhibit.desktop DESTINATION ${SERVICES_INSTALL_DIR} )