Closed MaximilienNaveau closed 3 years ago
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:
#include <eigen3/Eigen/Core>
I ran tests and built on my machines, and using the CI in github.
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