From 2637ea194542dd3afad0ed06af4950d7aec4e236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20L=C3=AA?= <8@tle.id.au> Date: Wed, 3 Apr 2024 14:48:25 +1100 Subject: [PATCH] link libm for client target Fixes #400 --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a5d02dce8..be54bff17 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -592,6 +592,9 @@ endif() IF(UNIX) TARGET_LINK_LIBRARIES(server dl rt m pthread) + IF(TARGET client) + TARGET_LINK_LIBRARIES(client m) + ENDIF() ENDIF() IF(TARGET client)