mirror of https://github.com/FreeRDP/FreeRDP
Disable poll usage on macOS/iOS because it is unreliable
This commit is contained in:
parent
73a931f941
commit
a7ce6699e3
|
@ -638,7 +638,9 @@ if(UNIX OR CYGWIN)
|
|||
if (FREEBSD)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_INCLUDES ${EPOLLSHIM_INCLUDE_DIR})
|
||||
endif()
|
||||
check_include_files(poll.h HAVE_POLL_H)
|
||||
if(NOT APPLE)
|
||||
check_include_files(poll.h HAVE_POLL_H)
|
||||
endif()
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
||||
check_symbol_exists(ceill math.h HAVE_MATH_C99_LONG_DOUBLE)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES m)
|
||||
|
|
Loading…
Reference in New Issue