build/${CMAKE_CXX_PLATFORM_ID}-${CMAKE_SYSTEM_PROCESSOR}/libmetis
)
-#
-# Sanity check: Only search the parmetis library in the same directory as
-# the metis library...
-#
-GET_FILENAME_COMPONENT(_path "${METIS_LIBRARY}" PATH)
-DEAL_II_FIND_LIBRARY(PARMETIS_LIBRARY
- NAMES parmetis
- HINTS ${_path}
- NO_DEFAULT_PATH
- NO_CMAKE_ENVIRONMENT_PATH
- NO_CMAKE_PATH
- NO_SYSTEM_ENVIRONMENT_PATH
- NO_CMAKE_SYSTEM_PATH
- NO_CMAKE_FIND_ROOT_PATH
- )
DEAL_II_FIND_PATH(METIS_INCLUDE_DIR metis.h
HINTS ${METIS_DIR}
DEAL_II_PACKAGE_HANDLE(METIS
LIBRARIES
- OPTIONAL PARMETIS_LIBRARY
REQUIRED METIS_LIBRARY
OPTIONAL MPI_C_LIBRARIES
INCLUDE_DIRS
REQUIRED METIS_INCLUDE_DIR
USER_INCLUDE_DIRS
REQUIRED METIS_INCLUDE_DIR
- CLEAR METIS_LIBRARY PARMETIS_LIBRARY METIS_INCLUDE_DIR
+ CLEAR METIS_LIBRARY METIS_INCLUDE_DIR
)