mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00

Instead of having ZeroMQ as a new dependency, enable the ZeroMQ backend only if ZeroMQ is available on the system as suggested by Tim.
19 lines
402 B
CMake
19 lines
402 B
CMake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
|
|
find_package(ZeroMQ REQUIRED)
|
|
|
|
zeek_add_plugin(
|
|
Zeek
|
|
Cluster_Backend_ZeroMQ
|
|
INCLUDE_DIRS
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${ZeroMQ_INCLUDE_DIRS}
|
|
DEPENDENCIES
|
|
${ZeroMQ_LIBRARIES}
|
|
SOURCES
|
|
Plugin.cc
|
|
ZeroMQ-Proxy.cc
|
|
ZeroMQ.cc
|
|
BIFS
|
|
cluster_backend_zeromq.bif)
|