Skip to content

cmake: Link `bitcoin_consensus` as a library

The TARGET_OBJECTS generator expression was introduced in the staging branch when we aimed to build the libbitcoinconsensus shared library. However, bitcoin_consensus is a STATIC library, not an OBJECT library.

This change updates the build system to link bitcoin_consensus normally to test_bitcoin, resolving linking issues when building with clang-cl.

Merge request reports

Loading