diff --git a/kcmkwin/CMakeLists.txt b/kcmkwin/CMakeLists.txt index 133e99228d..30d264b874 100644 --- a/kcmkwin/CMakeLists.txt +++ b/kcmkwin/CMakeLists.txt @@ -3,7 +3,10 @@ kde4_no_enable_final( kwinoptions ) add_subdirectory( kwinoptions ) add_subdirectory( kwindecoration ) add_subdirectory( kwinrules ) -add_subdirectory( kwincompositing ) +if( NOT KWIN_BUILD_WITH_OPENGLES ) + # depends on GL functionality not yet ported to ES + add_subdirectory( kwincompositing ) + add_subdirectory( kwinscreenedges ) +endif( NOT KWIN_BUILD_WITH_OPENGLES ) add_subdirectory( kwindesktop ) -add_subdirectory( kwinscreenedges ) add_subdirectory( kwintabbox )