Feature/fs1702 cmake add suitesparse support rebased
- Nov 23, 2015
-
-
Christoph Grüninger authored
Thanks Dominic for the hint!
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
Otherwise the test could mark SuiteSparse as not found which would break the search for other SuiteSparse libraries.
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
* Fix capitalization of SUITESPARSE_INCLUDE_DIRS * Drop PATHS when searching SuiteSparse_config.h in default paths * Add variable dereferencing in string(TOLOWER * Set SuiteSparse_${_component}_FOUND only TRUE if actually found * Mark more variables as advanced
-
Christoph Grüninger authored
According to the naming convention the variables which are used outside must have the same capitalization as the Find* module. Previsously we used SUITESPARSE_*.
-
Christoph Grüninger authored
FindPackageHandleStandardArgs provides everthing we need.
-
Christoph Grüninger authored
-
Christoph Grüninger authored
If BLAS is not found, the whole configure process is aborted. We actually want that BLAS is a requirement for SuiteSparse. It is better to check using FindPackageHandleStandardArgs.
-
Christoph Grüninger authored
-
Christoph Grüninger authored
The naming scheme is kind of broken.
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
Adjust code to reflect comment.
-
-
-
This patch adds the cmake findpackage script which locates Tim Davis' SuiteSparsae collection. If a certain setting of the SuiteSparse library should be used it can be found using find_package( SuiteSparse COMPONENETS <list-of-components> ) with a specific list of components. Existence of components can be check using the SUITESPARSE_<comp>_FOUND/HAVE_SUITESPARSE_<comp> cmake variable. The UMFPack search routines are redirected to the more general FindSuiteSparse script.
-