Actually looking for both ZMQ and PyZMQ now.
This commit is contained in:
parent
9f522cf082
commit
e47992d800
@ -79,13 +79,16 @@ endif()
|
||||
# Find ZMQ and get version
|
||||
########################################################################
|
||||
include(FindZeroMQ)
|
||||
if(NOT ZEROMQ_FOUND)
|
||||
message(FATAL_ERROR "ZMQ not found.")
|
||||
endif()
|
||||
|
||||
########################################################################
|
||||
# Find PyZMQ bindings
|
||||
########################################################################
|
||||
include(GrPython)
|
||||
GR_PYTHON_CHECK_MODULE("PyZMQ" "zmq" "int(zmq.__version__.split('.')[0]) >= 13" ZMQ_FOUND)
|
||||
if(NOT ZMQ_FOUND)
|
||||
GR_PYTHON_CHECK_MODULE("PyZMQ" "zmq" "int(zmq.__version__.split('.')[0]) >= 13" PYZMQ_FOUND)
|
||||
if(NOT PYZMQ_FOUND)
|
||||
message(FATAL_ERROR "Python ZMQ bindings not found.")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user