GMP library - Build succeeds, still cmake cannot find #22213
-
|
Hi, I am new to vcpkg, so please bear with me. I am able to install gmp with mainfest, however upon running cmake, it says Findgmp.cmake not found. Since gmp uses autoconf, that could be the cause of the issue, but I am not sure how to pinpoint it. I also checked My vcpkg.json:- Logs of install and build:- |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
For packages that don't provide cmake config you should manually search for includes and libraries. |
Beta Was this translation helpful? Give feedback.
-
|
There are many versions of FindGMP.cmake floating around, e.g. https://github.com/Macaulay2/M2/blob/stable/M2/cmake/FindGMP.cmake is known to do a good job |
Beta Was this translation helpful? Give feedback.
For packages that don't provide cmake config you should manually search for includes and libraries.
https://github.com/microsoft/vcpkg/blob/master/docs/examples/installing-and-using-packages.md#handling-libraries-without-native-cmake-support