mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Merge pull request #1967 from hitstergtd/x-add-militant-option
Problem: No CMake option to set ZMQ_ACT_MILITANT
This commit is contained in:
commit
c1dc9d0244
@ -71,6 +71,11 @@ ELSE (ENABLE_DRAFTS)
|
||||
set (pkg_config_defines "")
|
||||
ENDIF (ENABLE_DRAFTS)
|
||||
|
||||
option (WITH_MILITANT "Enable militant assertions" OFF)
|
||||
if (WITH_MILITANT)
|
||||
add_definitions(-DZMQ_ACT_MILITANT)
|
||||
endif()
|
||||
|
||||
set (POLLER "" CACHE STRING "Choose polling system. valid values are
|
||||
kqueue, epoll, devpoll, poll or select [default=autodetect]")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user