Skip to content

Commit

Permalink
Fix cmake epoll detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Mar 8, 2021
1 parent e401def commit ace2aa7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Expand Up @@ -8,6 +8,9 @@ Broker:
- Fix QoS 0 messages not being delivered when max_queued_bytes was configured.
Closes #2123.

Build:
- Fix cmake epoll detection.


2.0.8 - 2021-02-25
==================
Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -77,6 +77,11 @@ if (WITH_BUNDLED_DEPS)
include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/deps)
endif (WITH_BUNDLED_DEPS)

find_path(HAVE_SYS_EPOLL_H sys/epoll.h)
if (HAVE_SYS_EPOLL_H)
add_definitions("-DWITH_EPOLL")
endif()

option(INC_BRIDGE_SUPPORT
"Include bridge support for connecting to other brokers?" ON)
if (INC_BRIDGE_SUPPORT)
Expand Down

0 comments on commit ace2aa7

Please sign in to comment.