aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a3e36ee8..96747bc3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -106,7 +106,11 @@ if (NNG_PLATFORM_POSIX)
)
endif()
-if (NNG_HAVE_KQUEUE)
+if (NNG_HAVE_PORT_CREATE)
+ set (NNG_SOURCES ${NNG_SOURCES}
+ platform/posix/posix_pollq_port.c
+ )
+elseif (NNG_HAVE_KQUEUE)
set (NNG_SOURCES ${NNG_SOURCES}
platform/posix/posix_pollq_kqueue.c
)