Commit c4d77ecb authored by Heiko Becker's avatar Heiko Becker
Browse files

Use Config mode for finding Eigen3

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
parent 3a2ca5f3
Pipeline #205827 passed with stage
in 1 minute and 15 seconds
......@@ -42,7 +42,7 @@ if(NOT ${OpenBabel3_FOUND})
find_package(Eigen3 CONFIG)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment