diff --git a/CMakeLists.txt b/CMakeLists.txt index 1627fd72d9..13bce65088 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ if(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING) endif(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING) OPTION(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON) +OPTION(KWIN_BUILD_KCMS "Enable building of KWin configuration modules." ON) # for things that are also used by kwin libraries configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h ) @@ -66,7 +67,9 @@ include_directories( add_subdirectory( libkdecorations ) add_subdirectory( libkwineffects ) add_subdirectory( killer ) -add_subdirectory( kcmkwin ) +if(KWIN_BUILD_KCMS) + add_subdirectory( kcmkwin ) +endif(KWIN_BUILD_KCMS) if( KWIN_BUILD_DECORATIONS ) add_subdirectory( clients )