-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Description
when METIS_ROOT is not specified, cmake is not allowed to look into default directories, which prevents from detecting a system installation, without any alternative:
if(metis_FOUND)
message(STATUS "metis CMake config path: ${metis_DIR}")
else()
find_path(METIS_PATH
NAMES "metis.h"
REQUIRED
PATHS "${METIS_ROOT}/include"
NO_DEFAULT_PATH) <==================== here
message(STATUS "Found Metis header at ${METIS_PATH}")
find_library(METIS_LIB
NAMES metis libmetis
REQUIRED
PATHS "${METIS_ROOT}/lib" "${METIS_ROOT}/bin"
NO_DEFAULT_PATH) <==================== here
this is on archlinux (metis cmake configuration file is not available), with highs 1.12.0
jajhall and BrannonKing