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

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

Doc

File size: 615 bytes
Line 
1# Pastix requires SCOTCH or METIS (partitioning and reordering tools)
2
3if (SCOTCH_INCLUDES AND SCOTCH_LIBRARIES)
4 set(SCOTCH_FIND_QUIETLY TRUE)
5endif (SCOTCH_INCLUDES AND SCOTCH_LIBRARIES)
6
7find_path(SCOTCH_INCLUDES
8 NAMES
9 scotch.h
10 PATHS
11 $ENV{SCOTCHDIR}
12 ${INCLUDE_INSTALL_DIR}
13 PATH_SUFFIXES
14 scotch
15)
16
17
18find_library(SCOTCH_LIBRARIES scotch PATHS $ENV{SCOTCHDIR} ${LIB_INSTALL_DIR})
19
20include(FindPackageHandleStandardArgs)
21find_package_handle_standard_args(SCOTCH DEFAULT_MSG
22 SCOTCH_INCLUDES SCOTCH_LIBRARIES)
23
24mark_as_advanced(SCOTCH_INCLUDES SCOTCH_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.