mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 01:37:56 +08:00
Merge pull request #4236 from ChrisThrasher/enable-drafts-messages
Correct messages about whether or not the draft API is being built
This commit is contained in:
commit
f6e99e72ec
@ -151,19 +151,19 @@ if(APPLE)
|
||||
endif()
|
||||
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
||||
message(STATUS "Build and install draft classes and methods")
|
||||
option(ENABLE_DRAFTS "Build and install draft classes and methods" ON)
|
||||
else()
|
||||
message(STATUS "Not building draft classes and methods")
|
||||
option(ENABLE_DRAFTS "Build and install draft classes and methods" OFF)
|
||||
endif()
|
||||
|
||||
# Enable WebSocket transport and RadixTree
|
||||
if(ENABLE_DRAFTS)
|
||||
message(STATUS "Building draft classes and methods")
|
||||
set(ZMQ_BUILD_DRAFT_API 1)
|
||||
option(ENABLE_WS "Enable WebSocket transport" ON)
|
||||
option(ENABLE_RADIX_TREE "Use radix tree implementation to manage subscriptions" ON)
|
||||
else()
|
||||
message(STATUS "Not building draft classes and methods")
|
||||
option(ENABLE_WS "Enable WebSocket transport" OFF)
|
||||
option(ENABLE_RADIX_TREE "Use radix tree implementation to manage subscriptions" OFF)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user