Skip to content

Check that GMP actually works in its FindPackage

Simon Praetorius requested to merge issue/find-gmp-check-works into master

GMP library might be found and its include files as well, but this does not mean that the package can work with the compiler toolchain. This MR adds a try_compile check that a simple example can be compiled and linked with GMP. It fails, for example, when libc++ is used as c++ standard library.

Merge request reports

Loading