AddGMPFlags

Helpers for using GMP from DUNE targets.

add_dune_gmp_flags

Link the given targets against GMP::gmpxx and add the compile definition HAVE_GMP=1.

The command has an effect only when GMP_FOUND is true.

add_dune_gmp_flags(<target> [<target>...])
targets

One or more existing targets to configure.