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
|
# Find ZMQ and get version
|
||||||
########################################################################
|
########################################################################
|
||||||
include(FindZeroMQ)
|
include(FindZeroMQ)
|
||||||
|
if(NOT ZEROMQ_FOUND)
|
||||||
|
message(FATAL_ERROR "ZMQ not found.")
|
||||||
|
endif()
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Find PyZMQ bindings
|
# Find PyZMQ bindings
|
||||||
########################################################################
|
########################################################################
|
||||||
include(GrPython)
|
include(GrPython)
|
||||||
GR_PYTHON_CHECK_MODULE("PyZMQ" "zmq" "int(zmq.__version__.split('.')[0]) >= 13" ZMQ_FOUND)
|
GR_PYTHON_CHECK_MODULE("PyZMQ" "zmq" "int(zmq.__version__.split('.')[0]) >= 13" PYZMQ_FOUND)
|
||||||
if(NOT ZMQ_FOUND)
|
if(NOT PYZMQ_FOUND)
|
||||||
message(FATAL_ERROR "Python ZMQ bindings not found.")
|
message(FATAL_ERROR "Python ZMQ bindings not found.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user