summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-09-18 18:21:58 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2018-09-18 18:22:55 (GMT)
commit7e33050558bd7807f5b718f5f0d170159cc532ee (patch)
tree8c0ba235cc3ef2fb2bfb455eb473040f654752d4 /Utilities
parent6b7b54d476a297b32f8f1521f3255052b9dda1b6 (diff)
downloadCMake-7e33050558bd7807f5b718f5f0d170159cc532ee.zip
CMake-7e33050558bd7807f5b718f5f0d170159cc532ee.tar.gz
CMake-7e33050558bd7807f5b718f5f0d170159cc532ee.tar.bz2
libuv: Add kFreeBSD platform-specific files
Issue 18375
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibuv/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/CMakeLists.txt b/Utilities/cmlibuv/CMakeLists.txt
index ba1638e..a503041 100644
--- a/Utilities/cmlibuv/CMakeLists.txt
+++ b/Utilities/cmlibuv/CMakeLists.txt
@@ -208,6 +208,22 @@ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
)
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")
list(APPEND uv_libraries
kvm