source: pacpussensors/trunk/Vislab/lib3dv/eigen/cmake/FindSuperLU.cmake@ 140

Last change on this file since 140 was 136, checked in by ldecherf, 8 years ago

Doc

File size: 712 bytes
Line 
1
2# Umfpack lib usually requires linking to a blas library.
3# It is up to the user of this module to find a BLAS and link to it.
4
5if (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
6 set(SUPERLU_FIND_QUIETLY TRUE)
7endif (SUPERLU_INCLUDES AND SUPERLU_LIBRARIES)
8
9find_path(SUPERLU_INCLUDES
10 NAMES
11 supermatrix.h
12 PATHS
13 $ENV{SUPERLUDIR}
14 ${INCLUDE_INSTALL_DIR}
15 PATH_SUFFIXES
16 superlu
17 SRC
18)
19
20find_library(SUPERLU_LIBRARIES superlu PATHS $ENV{SUPERLUDIR} ${LIB_INSTALL_DIR} PATH_SUFFIXES lib)
21
22include(FindPackageHandleStandardArgs)
23find_package_handle_standard_args(SUPERLU DEFAULT_MSG
24 SUPERLU_INCLUDES SUPERLU_LIBRARIES)
25
26mark_as_advanced(SUPERLU_INCLUDES SUPERLU_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.