diff --git a/CMakeLists.txt b/CMakeLists.txt index 56f6ce5ba1..334d5a669c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,9 +67,9 @@ add_subdirectory( kcmkwin ) add_subdirectory( clients ) add_subdirectory( data ) -if( KWIN_HAVE_COMPOSITING ) +if( KWIN_HAVE_COMPOSITING AND NOT OPENGLES_FOUND ) add_subdirectory( effects ) -endif( KWIN_HAVE_COMPOSITING ) +endif( KWIN_HAVE_COMPOSITING AND NOT OPENGLES_FOUND ) ########### next target ###############