FindqpOASES

Try to find the qpOASES library. Once done this will define the following variables:

qpOASES_FOUND         - System has qpOASES
qpOASES_INCLUDE_DIRS  - qpOASES include directory
qpOASES_LIBRARIES     - qpOASES libraries

qpOASES does not have an “install” step, and the includes are in the source tree, while the libraries are in the build tree. Therefore the environment and cmake variables qpOASES_SOURCE_DIR and qpOASES_BINARY_DIR will be used to locate the includes and libraries.