diff --git a/CMakeLists.txt b/CMakeLists.txt index e916844..d07983f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ include(FetchContent) # Fetch Eigen set(EIGEN_BUILD_BLAS OFF) set(EIGEN_BUILD_LAPACK OFF) +set(EIGEN_BUILD_CMAKE_PACKAGE ON) fetchcontent_declare( Eigen3 GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git