kwin/scripting/CMakeLists.txt
Martin Gräßlin 0d07738ca9 [kwin] Fix genericscripted config
* Use metadata as json
* set Q_PLUGIN_METADATA and Q_INTERFACES
* port away from kde4_add_plugin

Only tested with effects, scripts might need further adjustements.

REVIEW: 116862
2014-03-19 08:00:28 +01:00

9 lines
388 B
CMake

set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp)
add_library(kcm_kwin4_genericscripted MODULE ${kcm_kwin4_genericscripted_SRCS})
target_link_libraries( kcm_kwin4_genericscripted
KF5::ConfigWidgets #KCModule
KF5::I18n
KF5::Service
Qt5::DBus
Qt5::UiTools )
install( TARGETS kcm_kwin4_genericscripted DESTINATION ${PLUGIN_INSTALL_DIR}/kwin/effects/configs )