fix metis check for gentoo installed METIS version.

This commit is contained in:
Robert K 2015-01-19 17:25:32 +01:00 committed by Andreas Lauser
parent 53d09b1581
commit 3421ce27d5

View File

@ -20,7 +20,7 @@ endif()
find_path (METIS_INCLUDE_DIRS
NAMES "metis.h"
PATHS ${METIS_SEARCH_PATH}
PATH_SUFFIXES "include" "METISLib"
PATH_SUFFIXES "include" "METISLib" "include/metis"
${METIS_NO_DEFAULT_PATH})
# only search in architecture-relevant directory