Main Lemma Repository
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.

1234567891011121314151617181920212223
  1. # Pastix lib requires linking to a blas library.
  2. # It is up to the user of this module to find a BLAS and link to it.
  3. # Pastix requires SCOTCH or METIS (partitioning and reordering tools) as well
  4. if (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
  5. set(PASTIX_FIND_QUIETLY TRUE)
  6. endif (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
  7. find_path(PASTIX_INCLUDES
  8. NAMES
  9. pastix_nompi.h
  10. PATHS
  11. $ENV{PASTIXDIR}
  12. ${INCLUDE_INSTALL_DIR}
  13. )
  14. find_library(PASTIX_LIBRARIES pastix PATHS $ENV{PASTIXDIR} ${LIB_INSTALL_DIR})
  15. include(FindPackageHandleStandardArgs)
  16. find_package_handle_standard_args(PASTIX DEFAULT_MSG
  17. PASTIX_INCLUDES PASTIX_LIBRARIES)
  18. mark_as_advanced(PASTIX_INCLUDES PASTIX_LIBRARIES)