From b5bfa1765f2bd14be6f57f3f028653779ba7f2df Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Sun, 21 Oct 2007 13:44:40 +0000 Subject: [PATCH] Effects' config modules don't depend on opengl svn path=/trunk/KDE/kdebase/workspace/; revision=727695 --- effects/CMakeLists.txt | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index 697422f8ce..bb15421d2f 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -53,6 +53,18 @@ install( FILES zoom.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) +# config modules +KWIN4_ADD_EFFECT_CONFIG( builtins + presentwindows_config.cpp + shadow_config.cpp + desktopgrid_config.cpp + configs_builtins.cpp) +install( FILES + presentwindows_config.desktop + shadow_config.desktop + desktopgrid_config.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) + if(OPENGL_FOUND) # opengl-based effects SET(kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources} @@ -97,20 +109,6 @@ if(OPENGL_FOUND) data/circle.png data/circle-edgy.png DESTINATION ${DATA_INSTALL_DIR}/kwin ) - - # config modules - KWIN4_ADD_EFFECT_CONFIG( builtins - presentwindows_config.cpp - shadow_config.cpp - desktopgrid_config.cpp - configs_builtins.cpp) - install( FILES - presentwindows_config.desktop - shadow_config.desktop - desktopgrid_config.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) - - endif(OPENGL_FOUND) # showfps - need both xrender and opengl