You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmake: adjust Find modules to try find_package & fallback to pkg_check_modules #30876
I assume one thing we could do, is try find_package(ZeroMQ) first, and fallback to pkg_check_modules(libzmq), and just maintain this (pretty much) forever. That might be better than somewhat vauge comments about "modern" distros, because, (some) modern distros do already support this, and it's actually the case that all versions of all distros Bitcoin Core supports need to do this, before we could do a complete switch.
I think this can be closed now. Upstream there hasn't been much change, so the original comment still stands. We'll need to maintain both methods of searching for dependencies (try CMake find_package and fall back to pkg_check_modules) for quite some time yet.
If anyone wants to push this along, you can try and petition your local distro/package manager to ship CMake config files, for all the dependencies we use, if they don't already.
Activity
Merge #30903: cmake: Add `FindZeroMQ` module
fanquake commentedon Feb 17, 2026
I think this can be closed now. Upstream there hasn't been much change, so the original comment still stands. We'll need to maintain both methods of searching for dependencies (try CMake
find_packageand fall back topkg_check_modules) for quite some time yet.If anyone wants to push this along, you can try and petition your local distro/package manager to ship CMake config files, for all the dependencies we use, if they don't already.
Merge bitcoin/bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin/bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin/bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin#30903: cmake: Add `FindZeroMQ` module
Merge bitcoin#30903: cmake: Add `FindZeroMQ` module