2009-02-05 18:35:38 +03:00
|
|
|
#######################################
|
|
|
|
# Effect
|
2010-12-19 16:41:26 +03:00
|
|
|
install( FILES
|
2014-03-17 17:56:11 +04:00
|
|
|
shaders/1.10/coverswitch-reflection.glsl
|
2013-05-21 12:33:02 +04:00
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.10 )
|
|
|
|
install( FILES
|
2014-03-17 17:56:11 +04:00
|
|
|
shaders/1.40/coverswitch-reflection.glsl
|
2013-05-21 12:33:02 +04:00
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.40 )
|
2010-12-19 16:41:26 +03:00
|
|
|
|
|
|
|
|
2009-02-05 18:35:38 +03:00
|
|
|
#######################################
|
|
|
|
# Config
|
2014-03-17 17:56:11 +04:00
|
|
|
set(kwin_coverswitch_config_SRCS coverswitch_config.cpp)
|
2014-04-29 10:25:19 +04:00
|
|
|
ki18n_wrap_ui(kwin_coverswitch_config_SRCS coverswitch_config.ui)
|
2014-03-18 19:09:20 +04:00
|
|
|
qt5_add_dbus_interface(kwin_coverswitch_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
2014-03-17 17:56:11 +04:00
|
|
|
kconfig_add_kcfg_files(kwin_coverswitch_config_SRCS coverswitchconfig.kcfgc)
|
|
|
|
|
|
|
|
add_library(kwin_coverswitch_config MODULE ${kwin_coverswitch_config_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kwin_coverswitch_config
|
2014-03-18 19:09:20 +04:00
|
|
|
Qt5::DBus
|
2014-03-17 17:56:11 +04:00
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
|
|
|
)
|
|
|
|
|
|
|
|
kservice_desktop_to_json(kwin_coverswitch_config coverswitch_config.desktop)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
kwin_coverswitch_config
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
|
|
)
|