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

Set default policies of CMake as the one of CMake 3.16 #1506

Closed
wants to merge 1 commit into from

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Oct 22, 2023

The main reason to do so is to ensure that https://cmake.org/cmake/help/latest/policy/CMP0094.html#policy:CMP0094 is set to NEW and fix the Python part of #1505 .

If you are confused by the syntax, check policy_max argument in https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html .

The main reason to do so is to ensure that https://cmake.org/cmake/help/latest/policy/CMP0094.html#policy:CMP0094 is set to NEW and fix the Python part of #1505 .
@traversaro traversaro changed the title Set default policy of CMake to 3.16 Set default policies of CMake as the one of CMake 3.16 Oct 22, 2023
@traversaro
Copy link
Member Author

For some reason, now macOS build fail. Interestingly, a similar PR in robotology/icub-models#217 works fine also on macOS, and CMake finds the right Python.

@traversaro
Copy link
Member Author

Supeseded by #1509 .

@traversaro traversaro closed this Oct 31, 2023
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