summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-26 22:51:50 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-28 13:05:57 (GMT)
commita9eaefaa1ef77bcfb1ee563e4312b2fe01784df5 (patch)
tree4eeb69633638bed5f31eb229c1fd40957c47ca63 /Utilities/cmlibuv
parentbc341a9d5e3863dd80393144eae88f27883db764 (diff)
downloadCMake-a9eaefaa1ef77bcfb1ee563e4312b2fe01784df5.zip
CMake-a9eaefaa1ef77bcfb1ee563e4312b2fe01784df5.tar.gz
CMake-a9eaefaa1ef77bcfb1ee563e4312b2fe01784df5.tar.bz2
Build with libuv on Cygwin to enable server-mode
With our last update of libuv, Cygwin is now supported.
Diffstat (limited to 'Utilities/cmlibuv')
-rw-r--r--Utilities/cmlibuv/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/CMakeLists.txt b/Utilities/cmlibuv/CMakeLists.txt
index 3252e3d..4c8e228 100644
--- a/Utilities/cmlibuv/CMakeLists.txt
+++ b/Utilities/cmlibuv/CMakeLists.txt
@@ -133,6 +133,27 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
)
endif()
+if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
+ list(APPEND uv_libraries
+ )
+ list(APPEND uv_headers
+ include/uv-posix.h
+ )
+ list(APPEND uv_defines
+ )
+ list(APPEND uv_sources
+ src/unix/cygwin.c
+ src/unix/bsd-ifaddrs.c
+ src/unix/no-fsevents.c
+ src/unix/no-proctitle.c
+ src/unix/posix-hrtime.c
+ src/unix/posix-poll.c
+ src/unix/procfs-exepath.c
+ src/unix/sysinfo-loadavg.c
+ src/unix/sysinfo-memory.c
+ )
+endif()
+
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
list(APPEND uv_headers
include/uv-darwin.h