How to integrate eigen library with PX4 firmware?

I have worked around the same problem with the TFLM library, you can see how I’ve solved it (very hacky solution) in the CMakeLists.txt files of this PR:

You also have to make sure to exclude tests, I had this problem with TFLM, and I know another who have used Eigen for other hardware who had problems with tests there as well