aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e59ee5b0..14894db8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -119,7 +119,7 @@ if (NNG_PLATFORM_POSIX)
set (NNG_SOURCES ${NNG_SOURCES}
platform/posix/posix_pollq_kqueue.c
)
- elseif (NNG_HAVE_EPOLL)
+ elseif (NNG_HAVE_EPOLL AND NNG_HAVE_EVENTFD)
set (NNG_SOURCES ${NNG_SOURCES}
platform/posix/posix_pollq_epoll.c
)