Skip to content
Snippets Groups Projects
Commit a9da7208 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake] A hint where SuperLU is located can be given by SUPERLU_ROOT. If

it is not found there, it silencely fails and searchs the default installtion
locations.

[[Imported from SVN: r1605]]
parent d41cf2f4
No related branches found
No related tags found
No related merge requests found
......@@ -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"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment