-
Notifications
You must be signed in to change notification settings - Fork 343
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
Reference Boost libraries individually in CMake per docs #1024
base: RB-2.6
Are you sure you want to change the base?
Conversation
@Martinfx, can you try this PR to see if it does the trick in FreeBSD? |
I tested your branch on FreeBSD and this is result
|
@YakoYakoYokuYoku You try to add (if else) for FreeBSD and for Linux |
Can you check for both of |
I am sorry my mistake. I have new installation OS. It is ok. |
@YakoYakoYokuYoku I can't find the doc saying that this is the proper way to use boost from cmake.
Can you please give us a pointer? |
It's way down below in the boostorg/cmake README, seems that when I was copying it I've omitted the fragment, drats. |
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. Additionally, make sure you've done all of these things:
PR Description
What type of PR is this? (Check one of the boxes below)
What does this pull request do?
This fixes an annoying policy warning when using CMake. Referencing libraries directly with
find_package
has been supported way back in Boost.Show a few screenshots (if this is a visual change)
N/A.
Have you tested your changes (if applicable)? If so, how?
By building and running Natron.
Futher details of this pull request
This might fix issues in other platforms such as BSD related to include directories.