Conditionally build all window decorations

Adding a new CMake option KWIN_BUILD_DECORATIONS to conditionally
build all window decorations. By default build is enabled.
CCMAIL: sebas@kde.org
icc-effect-5.14.5
Martin Gräßlin 2011-04-28 16:18:15 +02:00
parent f97c92fde9
commit ecf9d6e989
1 changed files with 5 additions and 1 deletions

View File

@ -65,7 +65,11 @@ add_subdirectory( libkdecorations )
add_subdirectory( libkwineffects )
add_subdirectory( killer )
add_subdirectory( kcmkwin )
add_subdirectory( clients )
OPTION(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON)
if( KWIN_BUILD_DECORATIONS )
add_subdirectory( clients )
endif( KWIN_BUILD_DECORATIONS )
add_subdirectory( data )
if( KWIN_HAVE_COMPOSITING )