summaryrefslogtreecommitdiff
path: root/cmake/FindGMP.cmake
blob: 2d7b9b64a95d512eddb4bdad919557b8fb6e0238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Find GMP
# GMP_FOUND - system has GMP lib
# GMP_INCLUDE_DIR - the GMP include directory
# GMP_LIBRARIES - Libraries needed to use GMP

find_path(GMP_INCLUDE_DIR NAMES gmp.h)
find_library(GMP_LIBRARIES NAMES gmp libgmp)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES)

mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback