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
688 B

  1. # Umfpack lib usually 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. if (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
  4. set(SUPERLU_FIND_QUIETLY TRUE)
  5. endif (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
  6. find_path(SUPERLU_INCLUDES
  7. NAMES
  8. supermatrix.h
  9. PATHS
  10. $ENV{SUPERLUDIR}
  11. ${INCLUDE_INSTALL_DIR}
  12. PATH_SUFFIXES
  13. superlu
  14. )
  15. find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR})
  16. include(FindPackageHandleStandardArgs)
  17. find_package_handle_standard_args(SUPERLU DEFAULT_MSG
  18. SUPERLU_INCLUDES SUPERLU_LIBRARIES)
  19. mark_as_advanced(SUPERLU_INCLUDES SUPERLU_LIBRARIES)