Fix Eigen CMake variable (#48)

This commit is contained in:
Martin Valgur 2024-05-08 11:07:50 +03:00 committed by GitHub
parent 3f61cb0c39
commit 6e7b77897b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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(