From 3245d444550a30f3ef2f4e4d271c07ca65070755 Mon Sep 17 00:00:00 2001 From: AlefLm Date: Sun, 15 Dec 2024 02:02:16 +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..1afbdd1701 --- /dev/null +++ b/src/zmq/CMakeLists.txt @@ -0,0 +1,19 @@ +# Copyright (c) 2023-present The firo Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or https://opensource.org/license/mit/. + +add_library(firo_zmq STATIC EXCLUDE_FROM_ALL + zmqabstractnotifier.cpp + zmqnotificationinterface.cpp + zmqpublishnotifier.cpp +) +target_compile_definitions(firo_zmq + INTERFACE + ENABLE_ZMQ=1 +) +target_link_libraries(firo_zmq + PRIVATE + core_interface + univalue + zeromq +)