From 2b9b6167a602bb0971422e836a616f1bd98f61b0 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@uliege.be>
Date: Fri, 24 Jun 2022 08:56:32 +0200
Subject: [PATCH] HINTS -> PATH_SUFFIXES

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index eeb4678988..8134c1e3c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -423,7 +423,7 @@ endif()
 
 if(ENABLE_EIGEN)
   if(ENABLE_SYSTEM_CONTRIB)
-    find_path(EIGEN_INC "Eigen/Dense" HINTS eigen3)
+    find_path(EIGEN_INC "Eigen/Dense" PATH_SUFFIXES eigen3)
     if(EIGEN_INC)
       include_directories(${EIGEN_INC})
       set_config_option(HAVE_EIGEN "Eigen")
-- 
GitLab