Skip to content
Snippets Groups Projects
Commit ccd2ad83 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Set HAVE_SUITESPARSE_<COMPONENT> variable if component was found

parent 66c677e3
Branches
Tags
1 merge request!823Rewrite FindSuiteSparse to provide imported targets
Pipeline #27418 passed
......@@ -280,6 +280,7 @@ if(SuiteSparse_FOUND)
endif()
foreach(_component ${SuiteSparse_FIND_COMPONENTS})
if(SuiteSparse_${_component}_FOUND)
set(HAVE_SUITESPARSE_${_component} TRUE)
target_link_libraries(SuiteSparse::SuiteSparse
INTERFACE SuiteSparse::${_component})
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment