diff --git a/cmake/modules/FindSuperLU.cmake b/cmake/modules/FindSuperLU.cmake index 0b36df712f1a656fe373696380d0322cf0ac58a0..553a1bf72b9ace6413e70403c1e85155860e9ad8 100644 --- a/cmake/modules/FindSuperLU.cmake +++ b/cmake/modules/FindSuperLU.cmake @@ -19,12 +19,14 @@ endif(NOT BLAS_FOUND AND REQUIRED) # look for header files find_path(SUPERLU_INCLUDE_DIR NAMES supermatrix.h + HINTS ${SUPERLU_ROOT} PATH_SUFFIXES "superlu" "include/superlu" "include" "SRC" ) # look for library find_library(SUPERLU_LIBRARY - NAMES "superlu" "superlu_4.3" "superlu_4.2" "superlu_4.1" "superlu_4.0" "superlu_3.1" "superlu_3.0" + NAMES "superlu_4.3" "superlu_4.2" "superlu_4.1" "superlu_4.0" "superlu_3.1" "superlu_3.0" "superlu" + HINTS ${SUPERLU_ROOT} PATH_SUFFIXES "lib" "lib64" )