From 4793655974f8dbcf78da2983e68256c8451b408d Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Sun, 14 Feb 2010 21:35:13 +0100 Subject: [PATCH] Link with devstat when building in FreeBSD --- cmake/ConkyPlatformChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index ed63d83d..6d26b971 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -43,7 +43,7 @@ endif(CMAKE_SYSTEM_NAME MATCHES "Linux") if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") set(OS_FREEBSD true) - set(conky_libs ${conky_libs} -lkvm) + set(conky_libs ${conky_libs} -lkvm -ldevstat) endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")