mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00
libuv: Add support for building on IBM i (OS400)
This commit is contained in:

committed by
Brad King

parent
b7d8c91822
commit
7d6bd14dca
@@ -137,6 +137,25 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME STREQUAL "OS400")
|
||||||
|
list(APPEND uv_headers
|
||||||
|
include/uv/posix.h
|
||||||
|
)
|
||||||
|
list(APPEND uv_defines
|
||||||
|
_ALL_SOURCE
|
||||||
|
_XOPEN_SOURCE=500
|
||||||
|
_LINUX_SOURCE_COMPAT
|
||||||
|
_THREAD_SAFE
|
||||||
|
)
|
||||||
|
list(APPEND uv_sources
|
||||||
|
src/unix/aix-common.c
|
||||||
|
src/unix/ibmi.c
|
||||||
|
src/unix/posix-poll.c
|
||||||
|
src/unix/no-fsevents.c
|
||||||
|
src/unix/no-proctitle.c
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
|
if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
|
||||||
list(APPEND uv_libraries
|
list(APPEND uv_libraries
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user