mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake: LWS_WITHOUT_EVENTFD
This commit is contained in:
parent
02f0d759b5
commit
350284590c
2 changed files with 2 additions and 1 deletions
|
@ -275,6 +275,7 @@ option(LWS_HTTP_HEADERS_ALL "Override header reduction optimization and include
|
|||
option(LWS_WITH_SUL_DEBUGGING "Enable zombie lws_sul checking on object deletion" OFF)
|
||||
option(LWS_WITH_PLUGINS_API "Build generic lws_plugins apis (see LWS_WITH_PLUGINS to also build protocol plugins)" OFF)
|
||||
option(LWS_WITH_CONMON "Collect introspectable connection latency stats on individual client connections" ON)
|
||||
option(LWS_WITHOUT_EVENTFD "Force using pipe instead of eventfd" OFF)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
option(LWS_WITH_NETLINK "Monitor Netlink for Routing Table changes" ON)
|
||||
|
|
|
@ -78,7 +78,7 @@ if (HAIKU)
|
|||
list(APPEND LIB_LIST_AT_END network)
|
||||
endif()
|
||||
|
||||
IF (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
IF (CMAKE_SYSTEM_NAME STREQUAL Linux AND NOT LWS_WITHOUT_EVENTFD)
|
||||
CHECK_FUNCTION_EXISTS(eventfd_read LWS_HAVE_EVENTFD)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue