From a4eba7639e29c0dae1a97d56bb3628686dc9bcac Mon Sep 17 00:00:00 2001 From: Morritz Date: Fri, 30 Apr 2021 15:23:31 +0200 Subject: Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display (#5213) * Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display * fixed cast type * Fix: GetPhysicalRamUsage on FreeBSD - webadmin display / style and failing build fixes * added myself to contributors Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> --- CMake/AddDependencies.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake/AddDependencies.cmake') 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() -- cgit v1.2.3