mirror of https://github.com/FreeRDP/FreeRDP
freerdp: re-enable check for poll by default on Apple
This commit is contained in:
parent
d4020e2328
commit
0577d7a0c3
|
@ -564,7 +564,8 @@ if(UNIX OR CYGWIN)
|
|||
if (FREEBSD)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_INCLUDES ${EPOLLSHIM_INCLUDE_DIR})
|
||||
endif()
|
||||
if(NOT APPLE)
|
||||
option(WITH_POLL "Check for and include poll.h" ON)
|
||||
if (WITH_POLL)
|
||||
check_include_files(poll.h HAVE_POLL_H)
|
||||
endif()
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
||||
|
|
Loading…
Reference in New Issue