Do not build libuv on Cygwin

Currently libuv does not support Cygwin (see libuv issue 832)
in part due to lack of pthread APIs:

  https://cygwin.com/cygwin-api/std-notimpl.html
This commit is contained in:
Brad King 2016-08-26 08:17:42 -04:00
parent 219f741128
commit 9a53af4068
1 changed files with 3 additions and 0 deletions

View File

@ -481,6 +481,9 @@ int main(void) { return 0; }
if(NOT HAVE_CoreServices_OS_X_10_5)
set(CMAKE_USE_LIBUV 0)
endif()
elseif(CYGWIN)
# libuv does not support Cygwin
set(CMAKE_USE_LIBUV 0)
endif()
endif()
if(CMAKE_USE_LIBUV)