aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-08-30 08:24:36 -0700
committerGarrett D'Amore <garrett@damore.org>2018-08-30 08:24:36 -0700
commit156097e6c602b8f307fad62ed0ca1b4547f6c2d5 (patch)
treea1e9fd530b190c8cba1af1eb1729e8aba9880364 /src/CMakeLists.txt
parent3df688126be2b4147ae07ba04a584493c966172d (diff)
downloadnng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.tar.gz
nng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.tar.bz2
nng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.zip
fixes #684 CentOS 5 broken -- has epoll but not eventfd
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
)