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

Fix cmake warning #95

Merged
merged 1 commit into from
May 20, 2022
Merged

Fix cmake warning #95

merged 1 commit into from
May 20, 2022

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Apr 24, 2022

See: cmake --help-policy CMP0022

@mpatrascoiu
Copy link
Contributor

Thanks!

According to the cmake --help-policy manual:

This policy was introduced in CMake version 2.8.12.  CMake version
2.8.12.2 warns when the policy is not set and uses OLD behavior.  Use
the cmake_policy command to set it to OLD or NEW explicitly.

This tells me OLD is used by default, which ignores the new INTERFACE_LINK_LIBRARIES syntax.
I wanted to make sure this change will be intentional and not have consequences, which looks like it won't until the moment we use cmake_policy(NEW).

@mpatrascoiu mpatrascoiu merged commit 2381795 into cern-fts:devel May 20, 2022
@ellert ellert deleted the cmake-warn branch June 9, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants