From: Vsevolod Stakhov Date: Sat, 9 Nov 2013 20:55:31 +0000 (+0000) Subject: Link openssl to rspamc if enabled. X-Git-Tag: 0.6.0~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b12ed1722e350bd55a13e34f2eb6f8d41134581d;p=rspamd.git Link openssl to rspamc if enabled. --- 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)