# Try to find the GMP librairies # GMP_FOUND - system has GMP # GMP_INCLUDE_DIR - the GMP include directory # GMP_LIBRARY - the GMP library FIND_PATH(GMP_INCLUDE_DIR NAMES gmp.h) FIND_LIBRARY(GMP_LIBRARY NAMES libgmp.a gmp) INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_LIBRARY GMP_INCLUDE_DIR) MARK_AS_ADVANCED(GMP_LIBRARY GMP_INCLUDE_DIR)