summaryrefslogtreecommitdiffstats
path: root/CMake/AddDependencies.cmake
diff options
context:
space:
mode:
authorMorritz <tomeks33@gmail.com>2021-04-30 15:23:31 +0200
committerGitHub <noreply@github.com>2021-04-30 15:23:31 +0200
commita4eba7639e29c0dae1a97d56bb3628686dc9bcac (patch)
tree61e0866434b94b10ae3e578a4ca56f6c9818bb01 /CMake/AddDependencies.cmake
parentAdded functionality: mobs now enter boats and minecarts (#5214) (diff)
downloadcuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar.gz
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar.bz2
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar.lz
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar.xz
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.tar.zst
cuberite-a4eba7639e29c0dae1a97d56bb3628686dc9bcac.zip
Diffstat (limited to 'CMake/AddDependencies.cmake')
-rw-r--r--CMake/AddDependencies.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/AddDependencies.cmake b/CMake/AddDependencies.cmake
index 584fcb011..9655d217b 100644
--- a/CMake/AddDependencies.cmake
+++ b/CMake/AddDependencies.cmake
@@ -85,4 +85,7 @@ function(link_dependencies TARGET)
# Prettify jsoncpp_static name in VS solution explorer:
set_property(TARGET jsoncpp_static PROPERTY PROJECT_LABEL "jsoncpp")
+ if(${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
+ target_link_libraries(${TARGET} PRIVATE kvm)
+ endif()
endfunction()