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
This commit is contained in:
Martin Gräßlin 2011-04-28 16:18:15 +02:00
parent f97c92fde9
commit ecf9d6e989

View file

@ -65,7 +65,11 @@ add_subdirectory( libkdecorations )
add_subdirectory( libkwineffects ) add_subdirectory( libkwineffects )
add_subdirectory( killer ) add_subdirectory( killer )
add_subdirectory( kcmkwin ) 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 ) add_subdirectory( data )
if( KWIN_HAVE_COMPOSITING ) if( KWIN_HAVE_COMPOSITING )