Skip to content

CMPs: only set policy if it exists #353

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

Merged
merged 3 commits into from
Sep 26, 2024
Merged

CMPs: only set policy if it exists #353

merged 3 commits into from
Sep 26, 2024

Conversation

20DM
Copy link
Collaborator

@20DM 20DM commented Sep 26, 2024

As reported by @tkoskela: CMake crashes if the policy being set isn't known to CMake, e.g. the CMP0167 is only available as of 3.29.0 which is fairly new.

@20DM 20DM requested a review from tkoskela September 26, 2024 10:41
Copy link
Contributor

@tkoskela tkoskela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builds for me on 3.28.3 🚀

@20DM 20DM merged commit 450e49c into development Sep 26, 2024
14 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