Main Lemma Repository
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

FindPaSTiX.cmake 714B

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)