Skip to content

Commit

Permalink
Changed Eigen 3.3.90 to Eigen 3.4 as deps
Browse files Browse the repository at this point in the history
  • Loading branch information
allanleal committed Jun 7, 2023
1 parent 49fb62c commit 02010be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")")
Expand Down
2 changes: 1 addition & 1 deletion cmake/OptimaConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 02010be

Please sign in to comment.