-
Notifications
You must be signed in to change notification settings - Fork 41
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
Set policy CMP0167 to use FindBoost module #1123
Conversation
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.30.0) | ||
message(STATUS "Setting policy CMP0167 to use FindBoost module") | ||
cmake_policy(SET CMP0167 OLD) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you consider doing find_package(Boost CONFIG)
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did. That would not work with Boost 1.56-1.69. I decided to postpone updating minimum boost version.
I tested locally with CMake 3.30, and it passed. |
@dalg24 Do you have any opposition to merging it in the current form, without worrying about updating Boost versions? |
Not blocking no, but also not seeing it as a priority. |
The CI reports a CMake warning. Did you make sure it was ok to ignore? |
|
Fix #1122 for now.