From 86ccd99d8d9a87d03f2f327766a02cc13849b54d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 5 Nov 2008 13:47:55 +0000 Subject: Several improvements in sparse module: * add a LDL^T factorization with solver using code from T. Davis's LDL library (LPGL2.1+) * various bug fixes in trianfular solver, matrix product, etc. * improve cmake files for the supported libraries * split the sparse unit test * etc. --- cmake/FindSuperLU.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake/FindSuperLU.cmake') diff --git a/cmake/FindSuperLU.cmake b/cmake/FindSuperLU.cmake index 9d12ebd77..7383754e2 100644 --- a/cmake/FindSuperLU.cmake +++ b/cmake/FindSuperLU.cmake @@ -13,6 +13,10 @@ find_path(SUPERLU_INCLUDES find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR}) +if(SUPERLU_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX) + set(SUPERLU_LIBRARIES ${SUPERLU_LIBRARIES} -lgfortran) +endif(SUPERLU_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX) + include(FindPackageHandleStandardArgs) find_package_handle_standard_args(SUPERLU DEFAULT_MSG SUPERLU_INCLUDES SUPERLU_LIBRARIES) -- cgit v1.2.3