qpOASES icon indicating copy to clipboard operation
qpOASES copied to clipboard

find_package and qpoases

Open demathelin opened this issue 2 years ago • 2 comments

Hi everyone ! Thanks for your great work ! I would like to know if there is a particular reason to not implement the possibility to locate the package with the command "find_package" of CMake (https://cmake.org/cmake/help/latest/command/find_package.html). ie to install a file "QPOASESTargets.cmake" in order to use the package in another project with the command find_package.

Thanks for all your work and for your response !

demathelin avatar Dec 09 '22 17:12 demathelin

Hi.

I guess many people (including myself) compile qpOASES using the plain Makefile configured by hand (without using CMake). If you want to contribute a CMake FindPackage script, I'd be happy to merge your pull request.

Cheers!

apotschka avatar Dec 12 '22 07:12 apotschka

Sure ! I have made a pull request. Do not hesitate to tell me if something is wrong.

demathelin avatar Dec 16 '22 16:12 demathelin