Skip to content

Commit

Permalink
Fix Eigen CMake variable (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur authored May 8, 2024
1 parent 3f61cb0 commit 6e7b778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ if(BUILD_TESTS OR BUILD_EXAMPLES)
endif()

# Eigen is the sole mandatory dependency
find_package(Eigen3)
find_package(Eigen3 CONFIG)

if(NOT EIGEN3_FOUND)
if(NOT Eigen3_FOUND)
message(STATUS "System Eigen not found. Download Eigen 3.3.9.")
include(FetchContent)
FetchContent_Populate(
Expand Down

0 comments on commit 6e7b778

Please sign in to comment.