machines-in-motion / shared_memory

realtime interprocess communication
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

fix eigen usage #28

Closed MaximilienNaveau closed 3 years ago

MaximilienNaveau commented 3 years ago

Description

I am doing this PR because I saw this commit: https://github.com/machines-in-motion/shared_memory/commit/fb3fd4c43908d932f0f662ab3250b8c466d337b8

CMake is now finding the include using the targets. Hence we need to link against all library even if they are headers only.

The reason why it was working is because the include of Eigen (#include <eigen3/Eigen/Core>) was wrong:

How I Tested

I ran tests and built on my machines, and using the CI in github.

I fulfilled the following requirements