kwin/effects/coverswitch/CMakeLists.txt
Martin Gräßlin c00d468f0f GLSL 1.40 shader for CoverSwitch Reflection
Shader moved to 1.10 subdirectory and a new version for 1.40 added.
At the same time call to glPolygonMode removed as it caused errors with
core context (and seems to not be needed).

REVIEW: 110572
2013-05-23 09:43:43 +02:00

37 lines
1.1 KiB
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
coverswitch/coverswitch.cpp
)
kde4_add_kcfg_files(kwin4_effect_builtins_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES
coverswitch/coverswitch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
install( FILES
coverswitch/shaders/1.10/coverswitch-reflection.glsl
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.10 )
install( FILES
coverswitch/shaders/1.40/coverswitch-reflection.glsl
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.40 )
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
coverswitch/coverswitch_config.cpp
coverswitch/coverswitch_config.ui
)
kde4_add_kcfg_files(kwin4_effect_builtins_config_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES
coverswitch/coverswitch_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )