aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-21 20:05:48 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-21 20:05:48 -0800
commitc9593dfc5796a98b94ef516fce662f2e040acffe (patch)
tree72f28415fdb377ce32458488cf05e40c65a86594 /CMakeLists.txt
parentdc48f6afe9c5d5c8700f756ff0b3f0860f087d9d (diff)
downloadnng-c9593dfc5796a98b94ef516fce662f2e040acffe.tar.gz
nng-c9593dfc5796a98b94ef516fce662f2e040acffe.tar.bz2
nng-c9593dfc5796a98b94ef516fce662f2e040acffe.zip
Initial swag at notification pipes (not used yet).
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)