build: Do not define ENABLE_ZMQ when ZMQ is not available

A new behavior is consistent with the other optional dependencies.

The source code contains `#if ENABLE_ZMQ` lines only.
This commit is contained in:
Hennadii Stepanov
2023-05-18 10:48:48 +01:00
parent 4e8a7654f6
commit fa5831bd6f
2 changed files with 5 additions and 8 deletions

View File

@@ -38,7 +38,7 @@
/* Define to 1 to enable SQLite wallet */
#define USE_SQLITE 1
/* Define to 1 to enable ZMQ functions */
/* Define this symbol to enable ZMQ functions */
#define ENABLE_ZMQ 1
/* define if external signer support is enabled (requires Boost::Process) */