Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Pfeifer
44b205e9ee Revert "cmake: configure libsecp256k1.pc during install"
This reverts commit 7106dce6fd.

This causes a regression for packaging, as the generated
`.pc` file will contain the location that was used to build
the package archive.
2025-06-30 16:49:14 +02:00
Daniel Pfeifer
7106dce6fd cmake: configure libsecp256k1.pc during install
When installing to a given prefix, make sure that the .pc file contains
that prefix rather than the value of CMAKE_INSTALL_PREFIX that the
project was configured with.
2025-06-27 18:59:51 +02:00
Hennadii Stepanov
9f005c60d6 cmake: Install libsecp256k1.pc file
This change allows downstream projects to use pkg-config to search for
the libsecp256k1 library that is built with CMake.
2023-09-07 20:47:57 +01:00