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 version issue #202

Merged
merged 1 commit into from
Dec 18, 2024
Merged

fix cmake version issue #202

merged 1 commit into from
Dec 18, 2024

Conversation

zoemarschner
Copy link
Contributor

Currently, deps/CMakeLists.txt requires CMAKE version 3.30 due to the line cmake_policy(SET CMP0169 OLD). This policy fixes a deprecation added in 3.30, so it is only needed in versions greater than or equal to 3.30. The fix here causes the cmake_policy command to only be called in this case, thus restoring functionality in previous cmake versions.

This builds on my machine with cmake version 3.31.2.

@nmwsharp nmwsharp merged commit 1f8a50c into nmwsharp:master Dec 18, 2024
3 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