recommand config mode

This commit is contained in:
Sébastien Loriot 2025-06-10 20:49:26 +02:00
parent c54f02c96a
commit f7b70fb609
1 changed files with 3 additions and 2 deletions

View File

@ -69,8 +69,9 @@ For Visual C++ you can download precompiled libraries
from <A HREF="https://sourceforge.net/projects/boost/files/boost-binaries/">`https://sourceforge.net/projects/boost/files/boost-binaries/`</A>. from <A HREF="https://sourceforge.net/projects/boost/files/boost-binaries/">`https://sourceforge.net/projects/boost/files/boost-binaries/`</A>.
As there is no canonical directory for where to find \boost on Windows, As there is no canonical directory for where to find \boost on Windows,
we recommend that you define the environment variable we recommend to use the config mode of CMake by defining the environment variable
`Boost_ROOT` (or `BOOST_ROOT`) and set it to where you have installed \boost, e.g., `C:/local`, or set `Boost_DIR` to the path of the directory containing the file `BoostConfig.cmake`, e.g.`C:/local/boost_1_80_0/lib64-msvc-14.3/cmake/Boost-1.80.0` (be careful of the case of `Boost_DIR`). `Boost_DIR` (case sensitive) to the path of the directory in your boost installation
containing the file `BoostConfig.cmake`, e.g.`C:/local/boost_1_80_0/lib64-msvc-14.3/cmake/Boost-1.80.0`.
\subsection thirdpartyMP Multi Precision Number Type Library \subsection thirdpartyMP Multi Precision Number Type Library