Commit b91af2fc authored by Ansgar Burchardt's avatar Ansgar Burchardt

Assign `HAVE_SUITESPARSE_${_component}` the correct value

The value of the variable `SuiteSparse_${_component}_FOUND` should be
assigned, not the name of the variable.
parent 472a0f40
......@@ -169,7 +169,7 @@ foreach(_component ${SUITESPARSE_COMPONENTS})
else()
set(SuiteSparse_${_component}_FOUND FALSE)
endif()
set(HAVE_SUITESPARSE_${_component} SuiteSparse_${_component}_FOUND)
set(HAVE_SUITESPARSE_${_component} ${SuiteSparse_${_component}_FOUND})
if(SuiteSparse_${_component}_FOUND)
list(APPEND SUITESPARSE_INCLUDE_DIR "${${_component}_INCLUDE_DIR}")
list(APPEND SUITESPARSE_LIBRARY "${${_component}_LIBRARY}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment