Move decoration option
It is needed in the config_kwin.h file, so it must be declared before.
This commit is contained in:
parent
57c101c04d
commit
24b9a8c9db
1 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,8 @@ if(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING)
|
||||||
include_directories(${OPENGLES_INCLUDE_DIR})
|
include_directories(${OPENGLES_INCLUDE_DIR})
|
||||||
endif(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)
|
||||||
|
|
||||||
# for things that are also used by kwin libraries
|
# for things that are also used by kwin libraries
|
||||||
configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h )
|
configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h )
|
||||||
# for kwin internal things
|
# for kwin internal things
|
||||||
|
@ -66,7 +68,6 @@ add_subdirectory( libkwineffects )
|
||||||
add_subdirectory( killer )
|
add_subdirectory( killer )
|
||||||
add_subdirectory( kcmkwin )
|
add_subdirectory( kcmkwin )
|
||||||
|
|
||||||
OPTION(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON)
|
|
||||||
if( KWIN_BUILD_DECORATIONS )
|
if( KWIN_BUILD_DECORATIONS )
|
||||||
add_subdirectory( clients )
|
add_subdirectory( clients )
|
||||||
endif( KWIN_BUILD_DECORATIONS )
|
endif( KWIN_BUILD_DECORATIONS )
|
||||||
|
|
Loading…
Reference in a new issue