Fix how to set BOOST_ROOT
Summary of Changes
We require at least 1.74, but we gave an example with 1.70 We did not give the path to the boost cmake config file.
Release Management
- Affected package(s): documentation
Is it ok that I changed "\" to "/" ?
@lrineau I'm not sure about the fix. Boost_DIR shall point to where BoostConfig.cmake is located but BOOST_ROOT should point to the root of the installation, isn't it?
The doc of FindBoost says "BOOSTROOT : preferred installation prefix"
On my installation, it is set to where BoostConfig.cmake is, and it works
The doc of FindBoost says "BOOSTROOT : preferred installation prefix" On my installation, it is set to where
BoostConfig.cmakeis, and it works
But also with the underscore on the page you gave.
That's my point: BOOT_ROOT installation prefix while config mode should be using Boost_DIR.
ping @lrineau
Actually, if Boost is installed in a standard directory, like C:/ProgramFiles(x86), it can be found automatically. See the documentation of CMAKE_SYSTEM_PREFIX_PATH.
Successfully tested in CGAL-6.1-Ic-184