Fix a bug introduced in fa39fae0b71afd3423792270881924438d8ad2f0 The FindSuiteSparse.cmake refactor had a typo where CCOLAMD and COLAMD were conflated. Thanks to @jasjuang for reporting this issue and finding the exact commit where this bug was introduced. Change-Id: If8ef6624df3b8b2fd7f0861eafc4700173401435
diff --git a/cmake/FindSuiteSparse.cmake b/cmake/FindSuiteSparse.cmake index db4cc3b..53cd9e4 100644 --- a/cmake/FindSuiteSparse.cmake +++ b/cmake/FindSuiteSparse.cmake
@@ -278,7 +278,7 @@ suitesparse_find_component(AMD REQUIRED FILES amd.h LIBRARIES amd) suitesparse_find_component(CAMD REQUIRED FILES camd.h LIBRARIES camd) suitesparse_find_component(COLAMD REQUIRED FILES colamd.h LIBRARIES colamd) -suitesparse_find_component(COLAMD REQUIRED FILES ccolamd.h LIBRARIES ccolamd) +suitesparse_find_component(CCOLAMD REQUIRED FILES ccolamd.h LIBRARIES ccolamd) suitesparse_find_component(CHOLMOD REQUIRED FILES cholmod.h LIBRARIES cholmod) suitesparse_find_component( SUITESPARSEQR REQUIRED FILES SuiteSparseQR.hpp LIBRARIES spqr)