You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chocolatey package for Eigen currently ships a custom EigenConfig.cmake, but it only sets old-style CMake variables. The upstream EigenConfig.cmake sets CMake targets. I think the upstream one should be used here.
These come about because of the use of the old-style CMake
variables like ${orocos_kdl_INCLUDE_DIRS}. Unfortunately,
there is a bug in the orocos_kdl CMake modern targets where
they forget to export a dependency on Eigen. To workaround
this, make an explicit dependency on Eigen (even though we
don't directly use it), and use the Eigen targets instead.
Note that on Windows, this *still* causes us to use a
hardcoded path on Eigen. However, this path is less problematic
because it will always be there if the user followed our
installation instructions (and won't be a "random" path like
C:\ci\ws\install\include). Also, once we fixros2/choco-packages#19 , this hard-coded
path will go away as well.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
The chocolatey package for Eigen currently ships a custom
EigenConfig.cmake
, but it only sets old-style CMake variables. The upstream EigenConfig.cmake sets CMake targets. I think the upstream one should be used here.This repo's
choco-packages/package/eigen/share/cmake/Eigen3Config.cmake
Lines 1 to 6 in 45edd84
Upstream's
https://gitlab.com/libeigen/eigen/-/blob/master/cmake/Eigen3Config.cmake.in#L7
The text was updated successfully, but these errors were encountered: