Merge bitcoin/bitcoin#35928: doc: mention -DWITH_ZMQ=ON in macOS build guide

222855ed11 doc: mention -DWITH_ZMQ=ON in macOS build guide (cyb3ralbert)

Pull request description:

  `doc/build-osx.md` currently says:

  > Support for ZMQ notifications requires the following dependency.

  The `zeromq` dependency is covered, but the `-DWITH_ZMQ=ON` CMake option is not
  mentioned anywhere in that section. `WITH_ZMQ` defaults to `OFF`, so following the
  guide as written results in a build with ZMQ disabled, even though the user completed
  the ZMQ section. I verified this at the configure step on macOS: with `zeromq`
  installed and no flag, CMake reports `ZeroMQ ... OFF`; with `-DWITH_ZMQ=ON` it
  reports `ON`.

  The same wording was added to the BSD build guides in #35283, but `doc/build-osx.md`
  was not included.

  Docs-only change. No tests run.

ACKs for top commit:
  hebasto:
    ACK 222855ed11.

Tree-SHA512: b7e7114e18ef10216780f6b549516c79bff67d7a909c5167f9c48cc8d2ef0b10f1524c7656452308914e5cd86425588f9f2dac07d4eeb2fe1e624f5478453d73
This commit is contained in:
merge-script
2026-08-07 16:03:31 +01:00

View File

@@ -106,7 +106,7 @@ Otherwise, if you don't need QR encoding support, you can pass `-DWITH_QRENCODE=
#### ZMQ Dependencies
Support for ZMQ notifications requires the following dependency.
Bitcoin Core can provide notifications via ZeroMQ. To compile ZMQ support, install the following dependency and pass `-DWITH_ZMQ=ON` when configuring.
Skip if you do not need ZMQ functionality.
``` bash