Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost Warning: CMake 3.30+ #55

Open
ax3l opened this issue Aug 28, 2024 · 0 comments
Open

Boost Warning: CMake 3.30+ #55

ax3l opened this issue Aug 28, 2024 · 0 comments
Assignees
Labels

Comments

@ax3l
Copy link
Member

ax3l commented Aug 28, 2024

I see this warning with CMake 3.30.2 regarding the internally shipped FindBoost.cmake module:

CMake Warning (dev) at CMakeLists.txt:45 (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.

This warning is for project developers.  Use -Wno-dev to suppress it.

https://cmake.org/cmake/help/latest/policy/CMP0167.html

I think we can modernize this by checking which boost versions are new enough to have proper CMake config files shipped and by then using find_package(Boost CONFIG) on our end.

@ax3l ax3l added the warning label Aug 28, 2024
@ax3l ax3l changed the title Boost Warning: CMake Boost Warning: CMake 3.30+ Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants