diff --git a/src/cluster/backend/CMakeLists.txt b/src/cluster/backend/CMakeLists.txt index 648dd8e265..c5a6d1b4a2 100644 --- a/src/cluster/backend/CMakeLists.txt +++ b/src/cluster/backend/CMakeLists.txt @@ -1,7 +1,5 @@ -# Default to building ZeroMQ only if ZeroMQ was found. -# -# If a user enabled the cluster backend explicitly (-D ENABLE_CLUSTER_BACKEND_ZEROMQ:bool=ON), -# but ZeroMQ wasn' found, hard bail. +# Default to building ZeroMQ, but add an option that allows it to be disabled +# via CMake. option(ENABLE_CLUSTER_BACKEND_ZEROMQ "Enable the ZeroMQ cluster backend" ON) if (ENABLE_CLUSTER_BACKEND_ZEROMQ)