source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/cmake/FindPastix.cmake

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

Doc

File size: 716 bytes
Line 
1# Pastix lib requires linking to a blas library.
2# It is up to the user of this module to find a BLAS and link to it.
3# Pastix requires SCOTCH or METIS (partitioning and reordering tools) as well
4
5if (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
6 set(PASTIX_FIND_QUIETLY TRUE)
7endif (PASTIX_INCLUDES AND PASTIX_LIBRARIES)
8
9find_path(PASTIX_INCLUDES
10 NAMES
11 pastix_nompi.h
12 PATHS
13 $ENV{PASTIXDIR}
14 ${INCLUDE_INSTALL_DIR}
15)
16
17find_library(PASTIX_LIBRARIES pastix PATHS $ENV{PASTIXDIR} ${LIB_INSTALL_DIR})
18
19
20
21include(FindPackageHandleStandardArgs)
22find_package_handle_standard_args(PASTIX DEFAULT_MSG
23 PASTIX_INCLUDES PASTIX_LIBRARIES)
24
25mark_as_advanced(PASTIX_INCLUDES PASTIX_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.