source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/cmake/FindGMP.cmake@ 141

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

Doc

File size: 554 bytes
Line 
1# Try to find the GNU Multiple Precision Arithmetic Library (GMP)
2# See http://gmplib.org/
3
4if (GMP_INCLUDES AND GMP_LIBRARIES)
5 set(GMP_FIND_QUIETLY TRUE)
6endif (GMP_INCLUDES AND GMP_LIBRARIES)
7
8find_path(GMP_INCLUDES
9 NAMES
10 gmp.h
11 PATHS
12 $ENV{GMPDIR}
13 ${INCLUDE_INSTALL_DIR}
14)
15
16find_library(GMP_LIBRARIES gmp PATHS $ENV{GMPDIR} ${LIB_INSTALL_DIR})
17
18include(FindPackageHandleStandardArgs)
19find_package_handle_standard_args(GMP DEFAULT_MSG
20 GMP_INCLUDES GMP_LIBRARIES)
21mark_as_advanced(GMP_INCLUDES GMP_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.