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

Change compatibility of CMake config files from SameMajorVersion to AnyNewerVersion #629

Merged
merged 3 commits into from
Jan 14, 2020

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Jan 14, 2020

Even if in the future major version can be breaking, for the main classes it would be
relatively easy to have a codebase that is compatible with multiple iDynTree major versions.
For this reason, I think it make sense to switch the CMake policy to AnyNewerVersion .
If any downstream user wants to use a different policy, it can always manually check inspect the iDynTree_VERSION CMake variable.

…nyNewerVersion

Even if in the future major version can be breaking, for the main classes it would be 
relativly easy to have a codebase that is compatible with multiple iDynTree major versions. 
For this reason, I think it make sense to switch the CMake policy to `AnyNewerVersion` .
If any downstream user wants to use a different policy, it can always manually check inspect the `iDynTree_VERSION` 
CMake variable.
@traversaro
Copy link
Member Author

Indeed, this problem broke the superbuild build: robotology/robotology-superbuild#328 .

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