fix metis check for gentoo installed METIS version.
This commit is contained in:
parent
53d09b1581
commit
3421ce27d5
@ -20,7 +20,7 @@ endif()
|
|||||||
find_path (METIS_INCLUDE_DIRS
|
find_path (METIS_INCLUDE_DIRS
|
||||||
NAMES "metis.h"
|
NAMES "metis.h"
|
||||||
PATHS ${METIS_SEARCH_PATH}
|
PATHS ${METIS_SEARCH_PATH}
|
||||||
PATH_SUFFIXES "include" "METISLib"
|
PATH_SUFFIXES "include" "METISLib" "include/metis"
|
||||||
${METIS_NO_DEFAULT_PATH})
|
${METIS_NO_DEFAULT_PATH})
|
||||||
|
|
||||||
# only search in architecture-relevant directory
|
# only search in architecture-relevant directory
|
||||||
@ -39,7 +39,7 @@ if (METIS_INCLUDE_DIRS OR METIS_LIBRARIES)
|
|||||||
set(METIS_FOUND TRUE)
|
set(METIS_FOUND TRUE)
|
||||||
set(HAVE_METIS TRUE)
|
set(HAVE_METIS TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# print a message to indicate status of this package
|
# print a message to indicate status of this package
|
||||||
include (FindPackageHandleStandardArgs)
|
include (FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(METIS
|
find_package_handle_standard_args(METIS
|
||||||
|
Loading…
Reference in New Issue
Block a user