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

Use <package>_ROOT for user provided locations instead of <package>_PREFIX <package>_DIR.

The latter is the location of the package configuration files.

[[Imported from SVN: r1899]]
parent 2c5baa0b
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# SuperLU must be a version released after the year 2005.
#
# Variables used by this module which you may want to set:
# SUPERLU_PREFIX Path list to search for SuperLU
# SUPERLU_ROOT Path list to search for SuperLU
#
# Sets the follwing variable:
#
......@@ -37,7 +37,7 @@ endif(NOT BLAS_FOUND)
# look for header files, only at positions given by the user
find_path(SUPERLU_INCLUDE_DIR
NAMES supermatrix.h
PATHS ${SUPERLU_PREFIX}
PATHS ${SUPERLU_ROOT}
PATH_SUFFIXES "superlu" "include/superlu" "include" "SRC"
NO_DEFAULT_PATH
)
......@@ -51,7 +51,7 @@ find_path(SUPERLU_INCLUDE_DIR
# look for library, only at positions given by the user
find_library(SUPERLU_LIBRARY
NAMES "superlu_4.3" "superlu_4.2" "superlu_4.1" "superlu_4.0" "superlu_3.1" "superlu_3.0" "superlu"
PATHS ${SUPERLU_PREFIX}
PATHS ${SUPERLU_ROOT}
PATH_SUFFIXES "lib" "lib32" "lib64"
NO_DEFAULT_PATH
)
......
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