We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed40e02 commit 4a213c3Copy full SHA for 4a213c3
M2/cmake/check-libraries.cmake
@@ -127,7 +127,13 @@ find_package(GMP 6.0.0 REQUIRED)
127
# givaro prime field and algebraic computations (needs gmp)
128
# fflas_ffpack Finite Field Linear Algebra Routines (needs gmp, givaro + LAPACK)
129
130
-find_package(Eigen3 3.3.0 PATHS ${M2_HOST_PREFIX})
+find_package(Eigen3 3.4...5.0 PATHS ${M2_HOST_PREFIX})
131
+# FindEigen3 doesn't set EIGEN3_FOUND, and instead we should check
132
+# if the target Eigen3::Eigen is defined, so we set EIGEN3_FOUND
133
+# for compatibility with the rest of the build code
134
+if(TARGET Eigen3::Eigen)
135
+ set(EIGEN3_FOUND TRUE)
136
+endif (TARGET Eigen3::Eigen)
137
find_package(BDWGC 7.6.4)
138
find_package(MPFR 4.0.1)
139
find_package(MPFI 1.5.1)
0 commit comments