]> source.dussan.org Git - rspamd.git/commitdiff
Link openssl to rspamc if enabled.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Nov 2013 20:55:31 +0000 (20:55 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Nov 2013 20:55:31 +0000 (20:55 +0000)
src/client/CMakeLists.txt

index d87d622c9d909c915acd9ad9b2f82b00a39c9f1a..b8430db7f5f4729640afc6d61f1fc3b95b3c45e8 100644 (file)
@@ -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)