ShowFPS and ShowPaint need OpenGL OR XRender.

svn path=/trunk/KDE/kdebase/workspace/; revision=811400
icc-effect-5.14.5
Luboš Luňák 2008-05-22 21:31:59 +00:00
parent 3b488bf935
commit 6f981e99ad
1 changed files with 3 additions and 3 deletions

View File

@ -181,8 +181,8 @@ if(KWIN_HAVE_OPENGL_COMPOSITING)
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
endif(KWIN_HAVE_OPENGL_COMPOSITING)
# showfps, showpaint - need both xrender and opengl
if(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
# showfps, showpaint - need xrender or opengl
if(KWIN_HAVE_OPENGL_COMPOSITING OR KWIN_HAVE_XRENDER_COMPOSITING)
SET(kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
showfps.cpp
showpaint.cpp
@ -198,7 +198,7 @@ if(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
install( FILES
showfps_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
endif(KWIN_HAVE_OPENGL_COMPOSITING AND KWIN_HAVE_XRENDER_COMPOSITING)
endif(KWIN_HAVE_OPENGL_COMPOSITING OR KWIN_HAVE_XRENDER_COMPOSITING)
# add the plugin
KWIN4_ADD_EFFECT(builtins ${kwin4_effect_builtins_sources})