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

[config] Allow external qpOASES dependency #22

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

olivier-roussel
Copy link
Contributor

@olivier-roussel olivier-roussel commented Mar 22, 2024

This PR enables the use of qpOASES from an external package. A similar approach to the one adopted on SOFA is proposed:

  • try to find an external package qpOASES first and use it if found
  • if not, fallback to the embedded version in code

Thus, this should keep compatibility for current users.

This is part of some necessary steps to clean the code and to go toward a conda-forge package.

@olivier-roussel
Copy link
Contributor Author

olivier-roussel commented Mar 25, 2024

Note that 7593fd8 includes a fix that renames the directory cmake/modules to cmake/Modules, which is the one defined in the CMAKE_MODULE_PATH. So far, all these find modules could not be located on linux due to this case typo (but it seems that none is used actually, excepted the new one for qpOASES).
It should have been in a dedicated commit, I just missed it when squashing... sorry for that

@olivier-roussel
Copy link
Contributor Author

We'll re-run the CI once #20 is merged and then check for merging

@olivier-roussel olivier-roussel force-pushed the allow-external-qpOASES-2 branch 2 times, most recently from 934c2d3 to f8af23c Compare April 30, 2024 08:19
@olivier-roussel olivier-roussel force-pushed the allow-external-qpOASES-2 branch from f8af23c to e0bec8d Compare June 21, 2024 10:04
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