File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ if(PYBIND11_TEST_FILES_EIGEN_I GREATER -1)
8989 # Eigen 3.3.1+ exports a cmake 3.0+ target for handling dependency requirements, but also
9090 # produces a fatal error if loaded from a pre-3.0 cmake.
9191 if (NOT CMAKE_VERSION VERSION_LESS 3.0)
92- find_package (Eigen3 QUIET CONFIG)
92+ find_package (Eigen3 3.2.7 QUIET CONFIG)
9393 if (EIGEN3_FOUND)
9494 if (EIGEN3_VERSION_STRING AND NOT EIGEN3_VERSION_STRING VERSION_LESS 3.3.1)
9595 set (PYBIND11_EIGEN_VIA_TARGET 1)
@@ -99,7 +99,7 @@ if(PYBIND11_TEST_FILES_EIGEN_I GREATER -1)
9999 if (NOT EIGEN3_FOUND)
100100 # Couldn't load via target, so fall back to allowing module mode finding, which will pick up
101101 # tools/FindEigen3.cmake
102- find_package (Eigen3 QUIET )
102+ find_package (Eigen3 3.2.7 QUIET )
103103 endif ()
104104
105105 if (EIGEN3_FOUND)
You can’t perform that action at this time.
0 commit comments