macOS support for gmp via external command (#577)

Tested with MacPorts (gmp).
This commit is contained in:
Blady-Com
2022-07-25 10:06:13 +02:00
committed by GitHub
parent 058c9d073d
commit 4cceb704dc
+5
View File
@@ -9,3 +9,8 @@ kind = "system"
[external.origin."case(distribution)"]
"debian|ubuntu" = ["libgmp-dev"]
msys2 = ["mingw-w64-x86_64-gmp"]
[[external]]
kind = "version-output"
version-command = [ "pkg-config", "--modversion", "gmp" ]
version-regexp = "([\\d\\.]+)"