Closed thomastrapp closed 2 months ago
This is fixed in https://github.com/html-extract/hext/commit/f04420f87edeb5f0f57274e0832eb91c7c798aca .
CMake no longer wants to ship its own version of find_package(Boost)
and instead wants you to rely on the version that is provided when installing Boost.
https://cmake.org/cmake/help/latest/policy/CMP0167.html
Unfortunately, CMake projects that depend on Hext (or any other library that depends on Boost) will still receive the warning. And there is nothing I can do about it, because Hext cannot influence how CMake handles find_package(Boost)
for other projects.
To suppress this warning you can do one of the following:
cmake_minimum_required(VERSION 3.30)
or
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
Observed in cmake version 3.30.3 with Boost-1.86.0.
Other: