mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
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:
@@ -481,6 +481,9 @@ int main(void) { return 0; }
|
|||||||
if(NOT HAVE_CoreServices_OS_X_10_5)
|
if(NOT HAVE_CoreServices_OS_X_10_5)
|
||||||
set(CMAKE_USE_LIBUV 0)
|
set(CMAKE_USE_LIBUV 0)
|
||||||
endif()
|
endif()
|
||||||
|
elseif(CYGWIN)
|
||||||
|
# libuv does not support Cygwin
|
||||||
|
set(CMAKE_USE_LIBUV 0)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_USE_LIBUV)
|
if(CMAKE_USE_LIBUV)
|
||||||
|
Reference in New Issue
Block a user