FindMPFR¶
Find the GNU MPFR library and the corresponding C++ bindings MPFR-C++
This module searches for both libraries and only considers the package found if both can be located. It then defines separate targets for the C and the C++ library.
Imported Targets¶
This module provides the following imported targets, if found:
MPFR::mpfrLibrary target of the C library.
MPFR::mprealLibrary target of the C++ library, which also links to the C library.
Result Variables¶
This will define the following variables:
MPFR_FOUNDTrue if the MPFR library, the MPFR++ headers and the MPFR++ library were found.
Cache Variables¶
You may set the following variables to modify the behaviour of this module:
MPFR_ROOTThe directory containing
include/mpfr.h.MPREAL_ROOTThe directory containing
include/mpreal.h.