mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
libuv: Add kFreeBSD platform-specific files
Issue 18375
This commit is contained in:
@@ -208,6 +208,22 @@ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
|
||||||
|
list(APPEND uv_libraries
|
||||||
|
freebsd-glue
|
||||||
|
kvm
|
||||||
|
)
|
||||||
|
list(APPEND uv_headers
|
||||||
|
include/uv-bsd.h
|
||||||
|
)
|
||||||
|
list(APPEND uv_sources
|
||||||
|
src/unix/bsd-ifaddrs.c
|
||||||
|
src/unix/freebsd.c
|
||||||
|
src/unix/kqueue.c
|
||||||
|
src/unix/posix-hrtime.c
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
||||||
list(APPEND uv_libraries
|
list(APPEND uv_libraries
|
||||||
kvm
|
kvm
|
||||||
|
|||||||
Reference in New Issue
Block a user