zeromq: Conditionally enable by default

Instead of having ZeroMQ as a new dependency, enable the ZeroMQ backend only
if ZeroMQ is available on the system as suggested by Tim.
This commit is contained in:
Arne Welzel 2024-12-04 17:15:16 +01:00
parent d816bfb249
commit 07e23fb95e
3 changed files with 18 additions and 9 deletions

View file

@ -2,8 +2,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(ZeroMQ REQUIRED)
message(STATUS "zeromq: ${ZeroMQ_LIBRARIES} ${ZeroMQ_INCLUDE_DIRS}")
zeek_add_plugin(
Zeek
Cluster_Backend_ZeroMQ