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

[CMake,SuiteSparse] Add special case for SPQR header

parent 7aadda85
Branches
Tags
No related merge requests found
......@@ -111,6 +111,19 @@ foreach(_component ${SUITESPARSE_COMPONENTS})
)
endforeach()
# SPQR has different header file name SuiteSparseQR.hpp
#look for header files at positions given by the user
find_path(SPQR_INCLUDE_DIR
NAMES "SuiteSparseQR_C.hpp"
PATHS ${SuiteSparse_ROOT}
PATH_SUFFIXES "spqr" "include/spqr" "suitesparse" "include" "src" "SPQR" "SPQR/Include"
NO_DEFAULT_PATH
)
#now also look for default paths
find_path(SPQR_INCLUDE_DIR
NAMES "SuiteSparseQR.hpp"
PATH_SUFFIXES "spqr" "include/spqr" "suitesparse" "include" "SPQR" "SPQR/Include"
)
# resolve inter-modular dependencies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment