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
This commit is contained in:
parent
c37b7cdcba
commit
2e7116f126
1 changed files with 4 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue