From 2e7116f12688e014259d26c7db6fd5210547c7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 1 May 2011 13:27:13 +0200 Subject: [PATCH] Build option to enable building of KCMs New build option KWIN_BUILD_KCMS to control whether to build all KWin kcms or not. By default kcms are built. CCMAIL: sebas@kde.org --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 )