Commit 0548b92f authored by Philipp Götze's avatar Philipp Götze
Browse files

🔨 Set ZeroMQ (>=4.3.1) as required

parent b0f751d2
......@@ -252,7 +252,8 @@ endif()
############################################################################################
#
find_package(ZeroMQ)
SET(ZMQ_MIN_VERSION "4.3.1")
find_package(ZeroMQ ${ZMQ_MIN_VERSION} REQUIRED)
if (ZEROMQ_FOUND)
add_definitions( "-DHAS_ZMQ" )
include_directories(${ZEROMQ_INCLUDE_DIR})
......@@ -270,7 +271,7 @@ if (ZEROMQ_FOUND)
${ZEROMQ_SOURCES}
)
else()
set (ZEROMQ_SOURCES "")
message(FATAL_ERROR "Fatal error: ZeroMQ (version >= ${ZMQ_MIN_VERSION}) required.\n")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment