From 53c397c9263d9d4cb0975414f2efc45c8a1c7b3c Mon Sep 17 00:00:00 2001 From: ariel- Date: Wed, 28 Mar 2018 05:23:35 -0300 Subject: [PATCH] Buildsystem: more libzmq port --- dep/libzmq/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dep/libzmq/CMakeLists.txt b/dep/libzmq/CMakeLists.txt index f89a12537d6..ba408865b6d 100644 --- a/dep/libzmq/CMakeLists.txt +++ b/dep/libzmq/CMakeLists.txt @@ -169,6 +169,13 @@ else () message (FATAL_ERROR "Invalid polling method") endif () +include (CheckIncludeFiles) + +check_include_files (ifaddrs.h ZMQ_HAVE_IFADDRS) + +check_include_files (sys/uio.h ZMQ_HAVE_UIO) +check_include_files (sys/eventfd.h ZMQ_HAVE_EVENTFD) + add_library(libzmq STATIC ${libzmq_STAT_SRCS}) target_include_directories(libzmq