Skip to content

Commit

Permalink
build: link libkvm on netbsd only
Browse files Browse the repository at this point in the history
PR-URL: libuv#2875
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
tavplubix authored and bnoordhuis committed Jun 8, 2020
1 parent c70ce9b commit 2967557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 2967557

Please sign in to comment.