From 6e7b77897b0423bf01f85f66192828c7fe489850 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Wed, 8 May 2024 11:07:50 +0300 Subject: [PATCH] Fix Eigen CMake variable (#48) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 566b0d5..c67b997 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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(