aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af8d03f1..190e75fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,6 +97,7 @@ option (NNG_ENABLE_NNGCAT "Enable building nngcat utility." ${NNG_TOOLS})
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
find_package (Threads REQUIRED)
add_definitions (-DPLATFORM_POSIX)
+ add_definitions (-DNNG_USE_EVENTFD)
elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
find_package (Threads REQUIRED)