0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 23:51: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() else()
if(CMAKE_HOST_WIN32) if(CMAKE_HOST_WIN32)
set(CMAKE_REQUIRED_INCLUDES winsock2.h) set(CMAKE_REQUIRED_INCLUDES winsock2.h)
set(HAVE_SELECT 1) set(HAVE_SELECT 1)
else() else()
set(CMAKE_REQUIRED_INCLUDES sys/select.h) set(CMAKE_REQUIRED_INCLUDES sys/select.h)
check_function_exists(select HAVE_SELECT) check_function_exists(select HAVE_SELECT)
endif() endif()
set(CMAKE_REQUIRED_INCLUDES ) set(CMAKE_REQUIRED_INCLUDES )
if(HAVE_SELECT) if(HAVE_SELECT)