FindSuiteSparse --------------- Find the `SuiteSparse `_ libraries such as UMFPACK and SPQR. Use this module by invoking find_package with the form: .. code-block:: cmake find_package(SuiteSparse [] [EXACT] # Minimum or EXACT version e.g. 5.1 [REQUIRED] # Fail with error if SuiteSparse is not found [COMPONENTS ...] # SuiteSparse libraries by their canonical name # e.g. "UMFPACK" or "SPQR" [OPTIONAL_COMPONENTS ...] # Optional SuiteSparse libraries by their canonical name ) # e.g. "UMFPACK" or "SPQR" Components ^^^^^^^^^^ This module supports the following components: ``CHOLMOD`` Supernodal Cholesky factorization. ``CSparse`` and ``CXSparse`` A Concise Sparse Matrix package. ``GraphBLAS`` Graph algorithms and primitives using semiring algebra. (SuiteSparse >= 5.6) ``KLU`` and ``BTF`` Sparse LU factorization, well-suited for circuit simulation. ``LDL`` A sparse LDL' factorization and solve package. ``Mongoose`` A graph partitioning library. (SuiteSparse >= 5.5) ``SPQR`` Multifrontal QR factorization. ``UMFPACK`` Multifrontal LU factorization. And ordering methods: ``AMD``, ``CAMD``, ``COLAMD``, and ``CCOLAMD``. Imported Targets ^^^^^^^^^^^^^^^^ This module provides the following imported targets, if found: ``SuiteSparse::SuiteSparse`` `Imported target `_ combining the requested optional and required components. ``SuiteSparse::SuiteSparse_config`` `Imported target `_ for the common SuiteSparse configuration library. ``SuiteSparse::`` `Imported target `_ for the found ```` library. Result Variables ^^^^^^^^^^^^^^^^ This module defines the following variables: ``SuiteSparse_FOUND`` Boolean result indicating whether all required SuiteSparse components were found. ``SuiteSparse__FOUND`` Boolean result indicating whether the requested ```` was found. ``SuiteSparse_FOUND_COMPONENTS`` List of SuiteSparse components for which imported targets were created. Hints ^^^^^ The following variables may be set to influence this module's behavior: ``SuiteSparse_ROOT`` Root directory of the SuiteSparse installation, usually containing ``include/`` and ``lib/`` subdirectories. ``SUITESPARSE_INCLUDE_DIR`` Include directory containing ``SuiteSparse_config.h``. ``SUITESPARSE_CONFIG_LIB`` Full path to the ``suitesparseconfig`` library.