FIND_UMFPACK_LIBRARY(AMD amd REQUIRED)
FIND_UMFPACK_LIBRARY(CHOLMOD cholmod)
FIND_UMFPACK_LIBRARY(COLAMD colamd)
+FIND_UMFPACK_LIBRARY(CAMD camd)
FIND_UMFPACK_LIBRARY(SuiteSparse_config suitesparseconfig)
-SET(_output ${UMFPACK_LIBRARY} ${CHOLMOD_LIBRARY} ${COLAMD_LIBRARY} ${AMD_LIBRARY} ${SuiteSparse_config_LIBRARY})
+SET(_output ${UMFPACK_LIBRARY} ${CHOLMOD_LIBRARY} ${COLAMD_LIBRARY} ${CAMD_LIBRARY} ${AMD_LIBRARY} ${SuiteSparse_config_LIBRARY})
FIND_PACKAGE_HANDLE_STANDARD_ARGS(UMFPACK DEFAULT_MSG
_output # Cosmetic: Gives nice output
UMFPACK_LIBRARY
${UMFPACK_LIBRARY}
${CHOLMOD_LIBRARY}
${COLAMD_LIBRARY}
+ ${CAMD_LIBRARY}
${AMD_LIBRARY}
${SuiteSparse_config_LIBRARY}
+ ${METIS_LIBRARIES} # for good measure
${LAPACK_LIBRARIES}
)
)
MARK_AS_ADVANCED(
+ AMD_INCLUDE_DIR
+ AMD_LIBRARY
atlas_LIBRARY
blas_LIBRARY
- UMFPACK_LIBRARY
- AMD_LIBRARY
+ CAMD_LIBRARY
CHOLMOD_LIBRARY
COLAMD_LIBRARY
- SuiteSparse_config_LIBRARY
- UMFPACK_INCLUDE_DIR
- AMD_INCLUDE_DIR
SuiteSparse_config_INCLUDE_DIR
- UMFPACK_DIR
+ SuiteSparse_config_LIBRARY
SUITESPARSE_DIR
+ UMFPACK_DIR
+ UMFPACK_INCLUDE_DIR
+ UMFPACK_LIBRARY
)
ELSE()
SET(UMFPACK_DIR "" CACHE PATH