15 Jul
2021
15 Jul
'21
9:10 a.m.
Am 15.07.21 um 11:08 schrieb Dennis Luehring via Boost:
Am 15.07.2021 um 10:38 schrieb Alexander Grund via Boost:
it seems that the mind version of cmake is 3.19.4 to support finding out of the box - is that correct? No, pretty much any CMake version works. Especially with the CMAKE_PREFIX_PATH approach. If it doesn't you misconfigured something
you're right
using the CMAKE_PREFIX_PATH approach using environment or directly with list(APPEND CMAKE_PREFIX_PATH ${HAAS_THIRD_PARTY_LIBS}/boost_1_76_0)
also works with 3.18.6 - but NOT using set( BOOST_ROOT ${MY_THIRD_PARTY_LIBS}/boost_1_76_0 ) - that works only with 3.19.4
I think the correct variable to set here would have been Boost_ROOT or Boost_DIR BOOST_ROOT is compatibility IIRC