From 2967557b6651ee10dd2f9e0b4baeff35df0ab684 Mon Sep 17 00:00:00 2001 From: Alexander Tokmakov Date: Mon, 8 Jun 2020 11:09:23 +0200 Subject: [PATCH] build: link libkvm on netbsd only PR-URL: https://github.com/libuv/libuv/pull/2875 Reviewed-By: Ben Noordhuis --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0496d36a..a44e953c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,7 +206,6 @@ endif() if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") list(APPEND uv_sources src/unix/posix-hrtime.c src/unix/bsd-proctitle.c) - list(APPEND uv_libraries kvm) endif() if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") @@ -244,6 +243,7 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD") list(APPEND uv_sources src/unix/netbsd.c) + list(APPEND uv_libraries kvm) endif() if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")