this repo has no description
1### Try to find MPFR
2# Once done this will define
3# MPFR_FOUND - System has MPFR
4# MPFR_INCLUDE_DIRS - The MPFR include directories
5# MPFR_LIBRARIES - The libraries needed to use MPFR
6
7find_path(MPFR_INCLUDE NAMES mpfr.h
8 PATHS $ENV{GMPDIR} $ENV{MPFRDIR} ${INCLUDE_INSTALL_DIR})
9
10find_library(MPFR_LIBRARY mpfr
11 PATHS $ENV{GMPDIR} $ENV{MPFRDIR} ${LIB_INSTALL_DIR})
12
13include(FindPackageHandleStandardArgs)
14# handle the QUIETLY and REQUIRED arguments and set MPFR_FOUND to TRUE
15# if all listed variables are TRUE
16find_package_handle_standard_args(MPFR DEFAULT_MSG
17 MPFR_LIBRARY MPFR_INCLUDE)
18
19mark_as_advanced(MPFR_INCLUDE MPFR_LIBRARY)
20
21set(MPFR_INCLUDES ${MPFR_INCLUDE})
22set(MPFR_LIBRARIES ${MPFR_LIBRARY})