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

CMake: Only require to find Matlab MAIN_PROGRAM if BUILD_TESTING is ON #7

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

traversaro
Copy link
Contributor

This is a regression from #6 .
Basically, in the robotology-superbuild we are compiling projects that required Matlab in a system with just the Matlab required libraries, but without the Matlab main program, so now the CI of the robotology-superbuild is failing: https://github.com/robotology/robotology-superbuild/actions/runs/1919858897 . As we only need the Matlab main program if BUILD_TESTING is enabled, let's search for it only in that case.

@traversaro
Copy link
Contributor Author

Thanks @RiccardoGrieco !

@traversaro traversaro merged commit 221e3c5 into main Mar 2, 2022
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