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::mpfr

Library target of the C library.

MPFR::mpreal

Library target of the C++ library, which also links to the C library.

Result Variables

This will define the following variables:

MPFR_FOUND

True 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_ROOT

The directory containing include/mpfr.h.

MPREAL_ROOT

The directory containing include/mpreal.h.