Skip to content
Snippets Groups Projects
Commit 1d438d44 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake] UMFPack is only an optional component

Otherwise the test could mark SuiteSparse as not found which
would break the search for other SuiteSparse libraries.
parent 798bf42b
Branches
Tags
No related merge requests found
......@@ -26,7 +26,7 @@
# system paths.
#
find_package(SuiteSparse COMPONENTS UMFPACK)
find_package(SuiteSparse OPTIONAL_COMPONENTS UMFPACK)
set(UMFPACK_INCLUDE_DIRS ${SuiteSparse_INCLUDE_DIRS})
set(UMFPACK_LIBRARIES ${SuiteSparse_LIBRARIES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment