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
5 if (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
6 set(PASTIX_FIND_QUIETLY TRUE)
7 endif (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
9 find_path(PASTIX_INCLUDES
14 ${INCLUDE_INSTALL_DIR}
17 find_library(PASTIX_LIBRARIES pastix PATHS $ENV{PASTIXDIR} ${LIB_INSTALL_DIR})
21 include(FindPackageHandleStandardArgs)
22 find_package_handle_standard_args(PASTIX DEFAULT_MSG
23 PASTIX_INCLUDES PASTIX_LIBRARIES)
25 mark_as_advanced(PASTIX_INCLUDES PASTIX_LIBRARIES)