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.

25 lines
625 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. include
  14. )
  15. find_library(METIS_LIBRARIES metis PATHS $ENV{METISDIR} ${LIB_INSTALL_DIR} PATH_SUFFIXES lib)
  16. include(FindPackageHandleStandardArgs)
  17. find_package_handle_standard_args(METIS DEFAULT_MSG
  18. METIS_INCLUDES METIS_LIBRARIES)
  19. mark_as_advanced(METIS_INCLUDES METIS_LIBRARIES)