FindLibGMP: fallback to try_run if regex fails

Review Request #129226 - Created Oct. 19, 2016 and submitted

Information
Rex Dieter
libktorrent
master
Reviewers
ktorrent
hein

Some distros, like fedora, adjust gmp.h to be multilib friendly,
which causes FindLibGMP regex for versioning to fail. Add fallback
to use try_run to extract that information.

Build succeeds (on fedora)

Eike Hein
Rex Dieter
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 9f16ca2973afbef283418dc753904f6cf1708e7c by Rex Dieter to branch master.
Loading...