macOS compile failed

Great.

Another warning when one uses macOS is

MACOSX_RPATH is not specified for the following targets:
blasfeo
hpipm
qpOASES_e

One may consider adding a line in the main CMakeList.txt

set(CMAKE_MACOSX_RPATH 1)