FindSuiteSparse

Find the SuiteSparse libraries like UMFPACK or SPQR.

Example which tries to find Suite Sparse’s UMFPack component:

find_package(SuiteSparse OPTIONAL_COMPONENTS UMFPACK)

OPTIONAL_COMPONENTS
A list of components. Components are: AMD, BTF, CAMD, CCOLAMD, CHOLMOD, COLAMD, CXSPARSE, KLU, LDL, RBIO, SPQR, UMFPACK
SuiteSparse_ROOT
Path list to search for SuiteSparse

Sets the following variables:

SuiteSparse_FOUND
True if SuiteSparse was found.
SuiteSparse_INCLUDE_DIRS
Path to the SuiteSparse include dirs.
SuiteSparse_LIBRARIES
Name of the SuiteSparse libraries.
SuiteSparse_<COMPONENT>_FOUND
Whether <COMPONENT> was found as part of SuiteSparse.