aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindMetis.cmake
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-08-06 14:55:02 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-08-06 14:55:02 +0200
commit4d3b7e2a1351d60b9ee26d0fe3442cd5b3a1f8a9 (patch)
tree8ad3484157af2e83be037c40634ba58d29a00720 /cmake/FindMetis.cmake
parenta51806993b1a437af308db9c6893cab71e7ca814 (diff)
Add support for Metis fill-reducing ordering ; it is generally more efficient than COLAMD ordering
Diffstat (limited to 'cmake/FindMetis.cmake')
-rw-r--r--cmake/FindMetis.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/FindMetis.cmake b/cmake/FindMetis.cmake
index e4d6ef258..627c3e9ae 100644
--- a/cmake/FindMetis.cmake
+++ b/cmake/FindMetis.cmake
@@ -12,10 +12,11 @@ find_path(METIS_INCLUDES
${INCLUDE_INSTALL_DIR}
PATH_SUFFIXES
metis
+ include
)
-find_library(METIS_LIBRARIES metis PATHS $ENV{METISDIR} ${LIB_INSTALL_DIR})
+find_library(METIS_LIBRARIES metis PATHS $ENV{METISDIR} ${LIB_INSTALL_DIR} PATH_SUFFIXES lib)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(METIS DEFAULT_MSG