mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
CMake: fix devpoll detection not working properly
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
This commit is contained in:
parent
8c725093ac
commit
6fc2a61d16
@ -402,9 +402,7 @@ if(NOT MSVC)
|
||||
endif()
|
||||
|
||||
if(POLLER STREQUAL "")
|
||||
set(CMAKE_EXTRA_INCLUDE_FILES sys/devpoll.h)
|
||||
check_type_size("struct pollfd" DEVPOLL)
|
||||
set(CMAKE_EXTRA_INCLUDE_FILES)
|
||||
check_include_files("sys/devpoll.h" HAVE_DEVPOLL)
|
||||
if(HAVE_DEVPOLL)
|
||||
set(POLLER "devpoll")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user