aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2017-05-03 19:16:06 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-05-03 20:16:06 +0200
commit53b38251bb0bfdb1d002b09001417e708d85e422 (patch)
tree9085e992810b3a9952314e06f2c31c31fbda3e42
parent0502ac47fb5391889d1eed9d7c378a87e35d7882 (diff)
downloadrneovim-53b38251bb0bfdb1d002b09001417e708d85e422.tar.gz
rneovim-53b38251bb0bfdb1d002b09001417e708d85e422.tar.bz2
rneovim-53b38251bb0bfdb1d002b09001417e708d85e422.zip
build: OpenBSD: libuv does not use KVM, do not link to it. (#6663)
-rw-r--r--cmake/FindLibUV.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLibUV.cmake b/cmake/FindLibUV.cmake
index 3e042e4c50..3a60a831ea 100644
--- a/cmake/FindLibUV.cmake
+++ b/cmake/FindLibUV.cmake
@@ -65,7 +65,7 @@ if(HAVE_LIBKSTAT)
endif()
check_library_exists(kvm kvm_open "kvm.h" HAVE_LIBKVM)
-if(HAVE_LIBKVM)
+if(HAVE_LIBKVM AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
list(APPEND LIBUV_LIBRARIES kvm)
endif()