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

Wrap cmake policies in if statements #2155

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Conversation

TrentHouliston
Copy link
Contributor

Summary

The policy statements for CMake policy CMP0135 do not have if statements around them.
As a result, if you have a CMake version less than 3.24 CMake will fail

The policies should have an if statement so that versions between 3.21 and 3.24 can be built.

@fpistm fpistm added the enhancement New feature or request label Oct 30, 2023
@fpistm fpistm added this to the 2.7.0 milestone Oct 30, 2023
@fpistm fpistm requested a review from massonal October 30, 2023 08:34
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks @TrentHouliston for this PR.

@fpistm fpistm merged commit 7c3c9f0 into stm32duino:main Oct 30, 2023
20 checks passed
@massonal
Copy link
Contributor

massonal commented Nov 6, 2023

Belatedly, LGTM too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants