I have realized that the CMakeLists.txt always assumes that mcl was compiled without GMP and uses the defines for VINT.
This leads to ugly run-time errors when the library tries to init mcl with VINT, but should really use the GMP-specific methods.
This PR should fix it.
Tested on Ubuntu 20.04LTS GNU/Linux with GMP and Windows 10 without GMP.
I have realized that the CMakeLists.txt always assumes that mcl was compiled without GMP and uses the defines for VINT.
This leads to ugly run-time errors when the library tries to init mcl with VINT, but should really use the GMP-specific methods.
This PR should fix it.
Tested on Ubuntu 20.04LTS GNU/Linux with GMP and Windows 10 without GMP.