Check for PyZMQ at runtime instead of compile time to support
cross-compiling.
This commit is contained in:
+4
-4
@@ -82,10 +82,10 @@ endif()
|
||||
# Find PyZMQ bindings
|
||||
########################################################################
|
||||
include(GrPython)
|
||||
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()
|
||||
#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()
|
||||
|
||||
########################################################################
|
||||
# Setup the include and linker paths
|
||||
|
||||
Reference in New Issue
Block a user