Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
777 B · 22 lines
at develop
1234567891011121314151617181920212223### Try to find MPFR# Once done this will define# MPFR_FOUND - System has MPFR# MPFR_INCLUDE_DIRS - The MPFR include directories# MPFR_LIBRARIES - The libraries needed to use MPFR
find_path(MPFR_INCLUDE NAMES mpfr.h PATHS $ENV{GMPDIR} $ENV{MPFRDIR} ${INCLUDE_INSTALL_DIR})
find_library(MPFR_LIBRARY mpfr PATHS $ENV{GMPDIR} $ENV{MPFRDIR} ${LIB_INSTALL_DIR})
include(FindPackageHandleStandardArgs)# handle the QUIETLY and REQUIRED arguments and set MPFR_FOUND to TRUE# if all listed variables are TRUEfind_package_handle_standard_args(MPFR DEFAULT_MSG MPFR_LIBRARY MPFR_INCLUDE)
mark_as_advanced(MPFR_INCLUDE MPFR_LIBRARY)
set(MPFR_INCLUDES ${MPFR_INCLUDE})set(MPFR_LIBRARIES ${MPFR_LIBRARY})