Update Documentation/doc/Documentation/advanced/Configuration_variables.txt

Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
Sebastien Loriot 2021-08-27 15:26:42 +02:00 committed by GitHub
parent 91a725b403
commit 5c41308f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -111,9 +111,7 @@ then you should set `Boost_DIR=<path>/lib/cmake/Boost-1.77.0`.
\subsubsection inst_boost_up_2_1_69 Version 1.69 and Earlier
\warning If you have a version of Boost greater to 1.69 already installed on your system,
`cmake` will always find it as the config mode is preferred over the other finding methods.
You will need to set the cmake variable `Boost_NO_BOOST_CMAKE` to `ON` to bypass it.
\warning If you have a version of Boost greater than 1.69 already installed on your system, and you want to configure and compile with an earlier version of Boost, then you will need to set the CMake variable `Boost_NO_BOOST_CMAKE` to `ON` (otherwise the `FindBoost.cmake` module of CMake will start searching for `BoostConfig.cmake`, and ignore the `BOOST_ROOT` variable).
In most cases, if \sc{Boost} is not automatically found, setting the `BOOST_ROOT`
variable is enough. If it is not, you can specify the header and library