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

Remove unneeded cmp0057 new #867

Merged
merged 4 commits into from
Jul 20, 2024
Merged

Conversation

killerbot242
Copy link
Contributor

setting the policy to new is not needed, because we demand cmake_minimum_required(VERSION 3.8) and this policy was introduced in cmake 3.3, see here : https://cmake.org/cmake/help/latest/policy/CMP0057.html

this means any newer cmake is using the new policy (unless somebody would set it to old explicitly)

The following comments explains why it was added, and that indeed it is no longer needed, as such.
jtv#851 (comment)

Note that neither of these 2 cmake modules are for public use, they are internal cmake stuff.
Nothing on the outside should use it. This was feedback given by kitware developers.
Revert "remove a use added for a purpose which is gone in the meantime."

This reverts commit 7fdd2f8.
…mum_required(VERSION 3.8) and this policy was introduced in cmake 3.3, see heere : https://cmake.org/cmake/help/latest/policy/CMP0057.html

this means any newer cmake is using the new policy (unless somebody would set it to old explicitly)
@jtv
Copy link
Owner

jtv commented Jul 20, 2024

Thanks @killerbot242 !

@jtv jtv merged commit f61039e into jtv:master Jul 20, 2024
6 checks passed
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