cmake: De-duplicate libraries where possible #35756

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:260720-link-dedup changing 1 files +6 −0
  1. hebasto commented at 3:47 PM on July 20, 2026: member

    Enable the CMP0156 policy, which de-duplicates libraries on link lines based on linker capabilities. This silences Apple linker "ignoring duplicate libraries" warnings.

    The policy requires CMake >=3.29, which is satisfied by the current Homebrew package and the Guix build environment. On older versions the policy guard makes this a no-op.

  2. cmake: De-duplicate libraries where possible
    Enable the CMP0156 policy, which de-duplicates libraries on link
    lines based on linker capabilities. This silences Apple linker
    "ignoring duplicate libraries" warnings.
    
    The policy requires CMake >=3.29, which is satisfied by the current
    Homebrew package and the Guix build environment. On older versions the
    policy guard makes this a no-op.
    b7aea2db92
  3. hebasto added the label Build system on Jul 20, 2026
  4. DrahtBot commented at 3:47 PM on July 20, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35756.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. fanquake commented at 3:53 PM on July 20, 2026: member

    Would be good to clarify what has changed since you last PR'd this: #31504.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-07-21 12:50 UTC

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