diff --git a/Findsuitesparse.cmake b/Findsuitesparse.cmake index ab99dec..99fc791 100644 --- a/Findsuitesparse.cmake +++ b/Findsuitesparse.cmake @@ -18,13 +18,13 @@ endif() find_path(suitesparse_cholmod_INCLUDE_DIR NAMES cholmod.h HINTS ${SUITESPARSE_DIRS} - PATH_SUFFIXES include + PATH_SUFFIXES "suitesparse" "include/suitesparse" ) find_path(suitesparse_spqr_INCLUDE_DIR NAMES SuiteSparseQR.hpp HINTS ${SUITESPARSE_DIRS} - PATH_SUFFIXES include + PATH_SUFFIXES "suitesparse" "include/suitesparse" ) find_library(suitesparse_cholmod_LIBRARY