mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08: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()
|
endif()
|
||||||
|
|
||||||
if(POLLER STREQUAL "")
|
if(POLLER STREQUAL "")
|
||||||
set(CMAKE_EXTRA_INCLUDE_FILES sys/devpoll.h)
|
check_include_files("sys/devpoll.h" HAVE_DEVPOLL)
|
||||||
check_type_size("struct pollfd" DEVPOLL)
|
|
||||||
set(CMAKE_EXTRA_INCLUDE_FILES)
|
|
||||||
if(HAVE_DEVPOLL)
|
if(HAVE_DEVPOLL)
|
||||||
set(POLLER "devpoll")
|
set(POLLER "devpoll")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user