cmake: Install libsecp256k1.pc file #1422

pull hebasto wants to merge 2 commits into bitcoin-core:master from hebasto:230907-pkg-conf changing 3 files +18 −2
  1. hebasto commented at 8:01 pm on September 7, 2023: member

    This PR allows downstream projects to use pkg-config to search for the libsecp256k1 library that is built with CMake.

    Addressed https://github.com/bitcoin-core/secp256k1/discussions/1419#discussioncomment-6922896:

    We could just ship the pkg-config file also in CMake builds.

  2. 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.
    9f005c60d6
  3. ci: Align Autotools/CMake `CI_INSTALL` directory names 421d84855a
  4. real-or-random added the label build on Sep 8, 2023
  5. real-or-random added the label needs-changelog on Sep 8, 2023
  6. real-or-random approved
  7. real-or-random commented at 12:56 pm on September 8, 2023: contributor

    ACK https://github.com/bitcoin-core/secp256k1/pull/1422/commits/421d84855aeb9324b4f131c3e6c7ee8cf4f5f4e5 I compared the generated pc files and they match in autotools and CMake

    (Well, they match except for the -dev suffix we have in autotools on non-release commits… but there’s not really support for this in CMake, so it seems we have to live with this for now. https://gitlab.kitware.com/cmake/cmake/-/issues/16716 )

  8. real-or-random merged this on Sep 12, 2023
  9. real-or-random closed this on Sep 12, 2023

  10. hebasto deleted the branch on Sep 12, 2023
  11. real-or-random referenced this in commit d575ef9aca on Oct 12, 2023
  12. fanquake referenced this in commit 41e1b677ca on Jan 3, 2024
  13. fanquake referenced this in commit 29fde0223a on Jan 4, 2024
  14. janus referenced this in commit 5fe435c9b2 on Apr 6, 2024
  15. hebasto referenced this in commit b6de625950 on May 11, 2024
  16. real-or-random removed the label needs-changelog on Nov 4, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 11:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me