rtt_rosparam: use pkg-config as a fallback to find Eigen
mvukov opened this issue · comments
Typically cross-compilation does not work well with pkg-config when one uses a custom rootfs. Therefore, I suggest that by default find_package(Eigen3 QUIET)
is used, and if that does not work fall back to pkg-config. This approach works with cross-compilation for Ubuntu 16.04 and 18.04.