aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindSuperLU.cmake
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2013-01-25 18:17:17 +0100
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2013-01-25 18:17:17 +0100
commit81d4bfa8d9c9f17a58d827956f7d529085151afe (patch)
tree5eb0170dfcf48ad9b9a5aa3ebd3d5ffe134e5935 /cmake/FindSuperLU.cmake
parent7282a45a0aacf6ba08062d12a7111feeff2484df (diff)
add support for solving with sparse right hand side
Diffstat (limited to 'cmake/FindSuperLU.cmake')
-rw-r--r--cmake/FindSuperLU.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/FindSuperLU.cmake b/cmake/FindSuperLU.cmake
index ca72b4498..8a3df3666 100644
--- a/cmake/FindSuperLU.cmake
+++ b/cmake/FindSuperLU.cmake
@@ -14,9 +14,10 @@ find_path(SUPERLU_INCLUDES
${INCLUDE_INSTALL_DIR}
PATH_SUFFIXES
superlu
+ SRC
)
-find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR})
+find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR} PATH_SUFFIXES lib)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SUPERLU DEFAULT_MSG