Skip to content

Commit 69e2c02

Browse files
committed
Revert "Revert "Handle new suitesparse version (#171)""
This reverts commit 7c94a80.
1 parent 7c94a80 commit 69e2c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Findsuitesparse.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ endif()
1818
find_path(suitesparse_cholmod_INCLUDE_DIR
1919
NAMES cholmod.h
2020
HINTS ${SUITESPARSE_DIRS}
21-
PATH_SUFFIXES include
21+
PATH_SUFFIXES "include" "include/suitesparse"
2222
)
2323

2424
find_path(suitesparse_spqr_INCLUDE_DIR
2525
NAMES SuiteSparseQR.hpp
2626
HINTS ${SUITESPARSE_DIRS}
27-
PATH_SUFFIXES include
27+
PATH_SUFFIXES "include" "include/suitesparse"
2828
)
2929

3030
find_library(suitesparse_cholmod_LIBRARY

0 commit comments

Comments
 (0)