Skip to content

FindBoost needs updating for Boost 1.75

Boost 1.75 was released in December 2020, and it appears that the FindBoost module shipped by CMake has not been updated with the new version. When building a program with Boost 1.75 and CMake 3.19.4 the following warnings are emitted:

CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1204 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindBoost.cmake:1326 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake/Modules/FindBoost.cmake:1935 (_Boost_MISSING_DEPENDENCIES)
  qa/unit_test_utils/CMakeLists.txt:28 (find_package)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information