Skip to content
Snippets Groups Projects
Commit c56e4801 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 1605

Revision  r1605
.----------------------
[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: r1817]]
parents 0c2bac65 a9da7208
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