From eae2c0ca8e8cc3e8dd6f008e764db505eba101f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Sat, 16 Nov 2024 05:12:02 +0100 Subject: [PATCH] Add needed linker flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Å vagelj --- cmake/ConkyPlatformChecks.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index 3305e4df1..13f14290a 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -83,6 +83,8 @@ endif(CMAKE_SYSTEM_NAME MATCHES "DragonFly") if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") set(OS_OPENBSD true) + link_directories("/usr/local/lib") + set(conky_libs ${conky_libs} -lintl -lkvm) else(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") set(OS_OPENBSD false) endif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")