aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-04-01 14:07:38 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-04-01 14:07:38 +0000
commit0f8e692b3f5edcab61d586d0a996a2e30bbb68a2 (patch)
tree123daf9331ebec2e605545aa296a7ca1d7cec753 /cmake
parent113fc3a2606997533287921ccec49e320bf9f79b (diff)
* Find SuperLU also when it is installed without a superlu/ prefix
* Some more CoeffReturnType changes
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindSuperLU.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/FindSuperLU.cmake b/cmake/FindSuperLU.cmake
index fbefc943a..881e41ef1 100644
--- a/cmake/FindSuperLU.cmake
+++ b/cmake/FindSuperLU.cmake
@@ -9,10 +9,12 @@ if(BLAS_FOUND)
find_path(SUPERLU_INCLUDES
NAMES
- superlu/supermatrix.h
+ supermatrix.h
PATHS
$ENV{SUPERLUDIR}
${INCLUDE_INSTALL_DIR}
+ PATH_SUFFIXES
+ superlu
)
find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR})