0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00
This commit is contained in:
Richard Newton 2014-03-16 16:18:30 +00:00
parent 7cead2bfd6
commit 5bd5188ec6

View File

@ -42,10 +42,10 @@ if(POLLER STREQUAL "")
else()
if(CMAKE_HOST_WIN32)
set(CMAKE_REQUIRED_INCLUDES winsock2.h)
set(HAVE_SELECT 1)
set(HAVE_SELECT 1)
else()
set(CMAKE_REQUIRED_INCLUDES sys/select.h)
check_function_exists(select HAVE_SELECT)
check_function_exists(select HAVE_SELECT)
endif()
set(CMAKE_REQUIRED_INCLUDES )
if(HAVE_SELECT)