From 2d255115706d462c3812c52c41100ec3af5d82dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 23 Sep 2013 01:25:40 +0200 Subject: [PATCH] Mention WITH_FIND_MODULE CMake option in documentation. --- doc/building.dox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/building.dox b/doc/building.dox index ea73c04ec..f3e414ecd 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -128,6 +128,10 @@ plan to use them with shared libraries later, enable also position-independent code with `BUILD_STATIC_PIC`. If you want to build with another compiler (e.g. Clang), pass `-DCMAKE_CXX_COMPILER=clang++` to CMake. +%Magnum by default does not install `FindMagnum.cmake`, as you should bundle +the module with your code instead of depending on it being in system location. +You can install it by enabling `WITH_FIND_MODULE`. + By default the engine is built for desktop OpenGL. Using `TARGET_*` CMake parameters you can target other platforms. Note that some features are available for desktop OpenGL only, see @ref requires-gl.