-
Notifications
You must be signed in to change notification settings - Fork 795
Description
Following the basic install instructions here:
https://github.com/zeromq/cppzmq#build-instructions
Results in builds where the draft apis are not enabled. Looking into the CMakeLists.txt files, I thought that if I cloned the repositories (as opposed to downloading a .tar.gz from the release page) that the draft functions would be enabled.
From CMakeLists.txt:
if (EXISTS "${CMAKE_SOURCE_DIR}/.git") OPTION (ENABLE_DRAFTS "Build and install draft classes and methods" ON) else () OPTION (ENABLE_DRAFTS "Build and install draft classes and methods" OFF) endif () if (ENABLE_DRAFTS) ADD_DEFINITIONS (-DZMQ_BUILD_DRAFT_API) set (pkg_config_defines "-DZMQ_BUILD_DRAFT_API=1") else (ENABLE_DRAFTS) set (pkg_config_defines "") endif (ENABLE_DRAFTS)
Is there a simple change to these instructions that would change this? Specifically I'm hoping to use the cppzmq's poller functionality.