aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindSuperLU.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/FindSuperLU.cmake b/cmake/FindSuperLU.cmake
index fbefc943a..881e41ef1 100644
--- a/cmake/FindSuperLU.cmake
+++ b/cmake/FindSuperLU.cmake
@@ -9,10 +9,12 @@ if(BLAS_FOUND)
find_path(SUPERLU_INCLUDES
NAMES
- superlu/supermatrix.h
+ supermatrix.h
PATHS
$ENV{SUPERLUDIR}
${INCLUDE_INSTALL_DIR}
+ PATH_SUFFIXES
+ superlu
)
find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR})