Skip to content
  • Heiko Becker's avatar
    Use Config mode for finding Eigen3 · c4d77ecb
    Heiko Becker authored
    In [1] the build system was changed to use Eigen3's imported targets
    provided upstream. These are only available with the cmake config
    files, not the FindEigen3 module (also upstream). With the basic
    signature of find_package() it searches in Module mode first, finding
    Eigen3 via FindEigen3.cmake and erroring out afterwards because
    Eigen3::Eigen is an unknown target.
    Forcing find_package to use the Config mode fixes that.
    
    [1] e8cebec1
    c4d77ecb