From 02010be30ae16a90a56c04dfea4731dea58d6501 Mon Sep 17 00:00:00 2001 From: Allan Leal Date: Wed, 7 Jun 2023 12:29:26 +0200 Subject: [PATCH] Changed Eigen 3.3.90 to Eigen 3.4 as deps --- CMakeLists.txt | 4 ++-- cmake/OptimaConfig.cmake.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb0d9131..b5492d03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,9 +55,9 @@ endif() # Find Eigen3 either from the system, environment, or from the given directory OPTIMA_EIGEN_DIR if(DEFINED OPTIMA_EIGEN_DIR) - find_package(Eigen3 3.3.90 REQUIRED PATHS ${OPTIMA_EIGEN_DIR} NO_DEFAULT_PATH) + find_package(Eigen3 3.4 REQUIRED PATHS ${OPTIMA_EIGEN_DIR} NO_DEFAULT_PATH) else() - find_package(Eigen3 3.3.90 REQUIRED) + find_package(Eigen3 3.4 REQUIRED) endif() if(Eigen3_FOUND) message(STATUS "Found Eigen3: ${Eigen3_DIR} (found version \"${Eigen3_VERSION}\")") diff --git a/cmake/OptimaConfig.cmake.in b/cmake/OptimaConfig.cmake.in index 73f8763e..6fc93328 100644 --- a/cmake/OptimaConfig.cmake.in +++ b/cmake/OptimaConfig.cmake.in @@ -10,7 +10,7 @@ if(NOT TARGET Optima::Optima) endif() # Find all dependencies below -find_package(Eigen3 3.3.90 REQUIRED) +find_package(Eigen3 3.4 REQUIRED) # Recommended check at the end of a cmake config file. check_required_components(Optima)