giaf / hpipm

High-performance interior-point-method QP and QCQP solvers
Other
552 stars 130 forks source link

Use CMake option to find blasfeo (off by default to keep current behavior) #134

Closed nielsvd closed 1 year ago

nielsvd commented 1 year ago

Here is a tiny change to the HPIPM build configuration. The default behavior is untouched. If a use wishes, it is now possible to let CMake find the BLASFEO installation details.

The newly introduced option is: HPIPM_FIND_BLASFEO (default=OFF)

Note If HPIPM_FIND_BLASFEO==ON and blasfeo is subsequently not found, then CMake will fail. If one would change the default value for HPIPM_FIND_BLASFEO to ON, then I recommend to relax this condition.

giaf commented 1 year ago

Thanks for the contribution, merging.