Skip to content

Conversation

@yuyichao
Copy link

Adding a policy_max version of 4.0 in cmake_minimum_required. This tells cmake that policy version up to 4.0 is supported without removing support for cmake <= 3.5.

CMake policy 4.0 support is tested based on local testing and this version only needs to be updated when a version of cmake comes out that drop 4.0 policy support (likely 5.0).

Adding a policy_max version of 4.0 in cmake_minimum_required.
This tells cmake that policy version up to 4.0 is supported
without removing support for cmake <= 3.5.

CMake policy 4.0 support is tested based on local testing
and this version only needs to be updated when a version of cmake
comes out that drop 4.0 policy support (likely 5.0).
@yuyichao
Copy link
Author

Buildlog with the cmake 4.0 error: https://build.archlinuxcn.org/imlonghao-api/pkg/cubature-git/log/1753907397

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.

1 participant