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

Support finding visit_struct in the system also if it is installed without any CMake config file #70

Merged
merged 4 commits into from
May 20, 2023

Conversation

traversaro
Copy link
Collaborator

@traversaro traversaro commented Apr 16, 2023

This PR permits to build matio-cpp when visit_struct is installed, but no CMake config for it is installed (for example as it happens when visit_struct is installed via vcpkg or by manually copying the headers).

Furthermore, I also fixed the logic of USE_SYSTEM_visit_struct, as as it was before this PR, even if the user explicitly set USE_SYSTEM_visit_struct, the build silently went back to the USE_SYSTEM_visit_struct set to OFF case, instead of giving an error.

@traversaro traversaro marked this pull request as draft April 16, 2023 19:39
@traversaro traversaro changed the title Support findng visit_struct in the system also if it is installed without any CMake config file Support finding visit_struct in the system also if it is installed without any CMake config file Apr 16, 2023
@S-Dafarra S-Dafarra self-requested a review April 17, 2023 07:43
@traversaro traversaro marked this pull request as ready for review May 20, 2023 09:24
Copy link
Member

@S-Dafarra S-Dafarra left a comment

Choose a reason for hiding this comment

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

Thanks @traversaro!

@S-Dafarra S-Dafarra merged commit a0daf06 into ami-iit:master May 20, 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.

2 participants