From 985223903b288f5a0695755329c0c1604c4784de Mon Sep 17 00:00:00 2001 From: magwe Date: Fri, 27 Oct 2023 10:24:38 +0200 Subject: [PATCH 1/2] build: enforce Eigen >= 3.4 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34d8e8372..70413b1f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,7 +209,7 @@ if(Boost_FOUND) endif() endif() -FIND_PACKAGE(Eigen3 REQUIRED) +FIND_PACKAGE(Eigen3 3.4.0 REQUIRED) if(EIGEN3_FOUND) LIST(APPEND OpenMVS_EXTRA_INCLUDES ${EIGEN3_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR}) From ec5b5897833f5913826188ba6b7444d5ea988ab9 Mon Sep 17 00:00:00 2001 From: cDc Date: Sat, 28 Oct 2023 02:42:41 +0300 Subject: [PATCH 2/2] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70413b1f7..83e3f733c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,7 +209,7 @@ if(Boost_FOUND) endif() endif() -FIND_PACKAGE(Eigen3 3.4.0 REQUIRED) +FIND_PACKAGE(Eigen3 3.4 REQUIRED) if(EIGEN3_FOUND) LIST(APPEND OpenMVS_EXTRA_INCLUDES ${EIGEN3_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})