From c49ada0e91f6ea4fa28b7e7b6d959dd422b589a4 Mon Sep 17 00:00:00 2001 From: AlefLm Date: Sun, 15 Dec 2024 01:59:45 +0000 Subject: [PATCH] zmq: add initial cmake support --- src/zmq/CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/zmq/CMakeLists.txt diff --git a/src/zmq/CMakeLists.txt b/src/zmq/CMakeLists.txt new file mode 100644 index 0000000000..ca378eb7ab --- /dev/null +++ b/src/zmq/CMakeLists.txt @@ -0,0 +1,19 @@ +# Copyright (c) 2023-present The Bitcoin Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or https://opensource.org/license/mit/. + +add_library(bitcoin_zmq STATIC EXCLUDE_FROM_ALL + zmqabstractnotifier.cpp + zmqnotificationinterface.cpp + zmqpublishnotifier.cpp +) +target_compile_definitions(bitcoin_zmq + INTERFACE + ENABLE_ZMQ=1 +) +target_link_libraries(bitcoin_zmq + PRIVATE + core_interface + univalue + zeromq +)