diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 72b1c33e8..5e170b075 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -593,6 +593,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)