From 0f8e692b3f5edcab61d586d0a996a2e30bbb68a2 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 1 Apr 2009 14:07:38 +0000 Subject: * Find SuperLU also when it is installed without a superlu/ prefix * Some more CoeffReturnType changes --- cmake/FindSuperLU.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake/FindSuperLU.cmake') 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}) -- cgit v1.2.3