aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
index d87d622c9..b8430db7f 100644
--- a/src/client/CMakeLists.txt
+++ b/src/client/CMakeLists.txt
@@ -9,6 +9,9 @@ TARGET_LINK_LIBRARIES(rspamc pcre)
IF(GLIB_COMPAT)
TARGET_LINK_LIBRARIES(rspamc glibadditions)
ENDIF(GLIB_COMPAT)
+IF(OPENSSL_FOUND)
+ TARGET_LINK_LIBRARIES(rspamc ${OPENSSL_LIBRARIES})
+ENDIF(OPENSSL_FOUND)
TARGET_LINK_LIBRARIES(rspamc ${GLIB2_LIBRARIES})
TARGET_LINK_LIBRARIES(rspamc ${CMAKE_REQUIRED_LIBRARIES})
TARGET_LINK_LIBRARIES(rspamc m)