From 0e2ab163f4fbb2b55ab4b6d0af4772742e3dda28 Mon Sep 17 00:00:00 2001 From: Altti Jokinen Date: Thu, 11 Jan 2024 09:22:39 -0700 Subject: [PATCH] Handle new suiteparse version --- Findsuitesparse.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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