diff --git a/CMakeLists.txt b/CMakeLists.txt index b2866b0111..e76143e5b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,10 @@ ########### configure tests ############### +OPTION(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON) +OPTION(KWIN_BUILD_KCMS "Enable building of KWin configuration modules." ON) +OPTION(KWIN_MOBILE_EFFECTS "Only build effects relevant for mobile devices" OFF) +OPTION(KWIN_BUILD_TABBOX "Enable building of KWin Tabbox functionality" ON) + # KWIN_HAVE_COMPOSITING - whether any compositing support is available if( X11_Xcomposite_FOUND AND X11_Xdamage_FOUND ) set( KWIN_HAVE_COMPOSITING 1 ) @@ -42,11 +47,6 @@ if(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING) include_directories(${OPENGLES_INCLUDE_DIR}) 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) -OPTION(KWIN_MOBILE_EFFECTS "Only build effects relevant for mobile devices" OFF) -OPTION(KWIN_BUILD_TABBOX "Enable building of KWin Tabbox functionality" ON) - # for things that are also used by kwin libraries configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h ) # for kwin internal things