diff --git a/CMakeLists.txt b/CMakeLists.txt index 183b8b804..cf353cdd6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ cmake_dependent_option(TARGET_DESKTOP_GLES "Build for OpenGL ES on desktop" OFF option(WITH_FIND_MODULE "Install FindMagnum.cmake module into CMake's module dir (might require admin privileges)" OFF) # Parts of the library -option(WITH_AUDIO "Build Audio library" ON) +option(WITH_AUDIO "Build Audio library" OFF) option(WITH_DEBUGTOOLS "Build DebugTools library" ON) cmake_dependent_option(WITH_MESHTOOLS "Build MeshTools library" ON "NOT WITH_DEBUGTOOLS" ON) cmake_dependent_option(WITH_PRIMITIVES "Builf Primitives library" ON "NOT WITH_DEBUGTOOLS" ON) diff --git a/doc/building.dox b/doc/building.dox index 10db305a4..d4b5ce04b 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -39,8 +39,6 @@ Minimal set of tools and libraries required for building is: - **Corrade** - Plugin management and utility library. See @ref building-corrade "Corrade download and installation guide" for more information. -- **OpenAL** - By default needed by Audio library, but you can disable building - of it by setting `WITH_AUDIO` to `OFF` (see below). @section building-download Downloading the sources @@ -138,11 +136,12 @@ CMake and C++ sources, see @ref cmake and @ref src/Magnum.h for more information. See also @ref corrade-cmake and @ref src/Corrade.h for additional information. -By default the engine is built with everything except application libraries -(see below). Using `WITH_*` CMake parameters you can specify which parts will -be built and which not: +By default the engine is built with nearly everything except Audio library and +application libraries (see below). Using `WITH_*` CMake parameters you can +specify which parts will be built and which not: - - `WITH_AUDIO` - Audio library. + - `WITH_AUDIO` - Audio library. Depends on **OpenAL** library, not built by + default. - `WITH_DEBUGTOOLS` - DebugTools library. Enables also building of MeshTools, Primitives, SceneGraph, Shaders and Shapes libraries. - `WITH_MESHTOOLS` - MeshTools library. Enabled automatically if `WITH_DEBUGTOOLS`