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

Use <PACKAGE>_ROOT to provide package location.

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