diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-09 20:55:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-09 20:55:31 +0000 |
commit | b12ed1722e350bd55a13e34f2eb6f8d41134581d (patch) | |
tree | 90997915611b2d50127022ada1f27bc02375e60d /src/client | |
parent | edf3105abadf663f6bd4995bf4a8063bd324dc39 (diff) | |
download | rspamd-b12ed1722e350bd55a13e34f2eb6f8d41134581d.tar.gz rspamd-b12ed1722e350bd55a13e34f2eb6f8d41134581d.zip |
Link openssl to rspamc if enabled.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/CMakeLists.txt | 3 |
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) |