esa / pagmo2

A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pagmo2/
GNU General Public License v3.0
804 stars 159 forks source link

CMake: Find Boost using CONFIG mode only #572

Closed jschueller closed 3 days ago

jschueller commented 3 days ago

the module mode is deprecated in cmake>=3.30:

CMake Warning (dev) at cmake_modules/PagmoFindBoost.cmake:4 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:186 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
jschueller commented 3 days ago

/cc @bluescarni

bluescarni commented 3 days ago

@jschueller LGTM, merging, thanks a lot!

Does this mean the official Boost CMake support is finally usable?

jschueller commented 3 days ago

I guess, I dont know how long it has been around