Enable epoll support in CMake builds.

release/1.6
Roger A. Light 5 years ago
parent 6413840b2f
commit 0b8f19e594

@ -21,6 +21,7 @@ if (WIN32)
endif (WIN32)
include(GNUInstallDirs)
include(CheckSymbolExists)
option(WITH_BUNDLED_DEPS "Build with bundled dependencies?" ON)
option(WITH_TLS
@ -89,6 +90,11 @@ if (WITH_DLT)
add_definitions("-DWITH_DLT")
endif (WITH_DLT)
check_symbol_exists(epoll_create "sys/epoll.h" HAVE_EPOLL)
if (HAVE_EPOLL)
add_definitions("-DWITH_EPOLL")
endif (HAVE_EPOLL)
# ========================================
# Include projects
# ========================================

@ -25,6 +25,9 @@ Apps:
- Perform stricter parsing of input username in mosquitto_passwd. Closes
#570126 (Eclipse bugzilla).
Build:
- Enable epoll support in CMake builds.
1.6.12 - 2020-08-19
===================

Loading…
Cancel
Save