You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
597 B

  1. # Pastix requires METIS or METIS (partitioning and reordering tools)
  2. if (METIS_INCLUDES AND METIS_LIBRARIES)
  3. set(METIS_FIND_QUIETLY TRUE)
  4. endif (METIS_INCLUDES AND METIS_LIBRARIES)
  5. find_path(METIS_INCLUDES
  6. NAMES
  7. metis.h
  8. PATHS
  9. $ENV{METISDIR}
  10. ${INCLUDE_INSTALL_DIR}
  11. PATH_SUFFIXES
  12. metis
  13. )
  14. find_library(METIS_LIBRARIES metis PATHS $ENV{METISDIR} ${LIB_INSTALL_DIR})
  15. include(FindPackageHandleStandardArgs)
  16. find_package_handle_standard_args(METIS DEFAULT_MSG
  17. METIS_INCLUDES METIS_LIBRARIES)
  18. mark_as_advanced(METIS_INCLUDES METIS_LIBRARIES)