]> source.dussan.org Git - rspamd.git/commitdiff
Link ssl libraries to libucl.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Nov 2013 10:18:44 +0000 (10:18 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Nov 2013 10:18:44 +0000 (10:18 +0000)
src/ucl/CMakeLists.txt

index d4254aafb4f003d873b00caea4b6eddf3a9f4ac9..45c1815e71c5f78dd770c75bbe94145dae93ea15 100644 (file)
@@ -15,6 +15,9 @@ ELSE(HAVE_FETCH_H)
         TARGET_LINK_LIBRARIES(rspamd-ucl ${CURL_LIBRARIES})
     ENDIF(CURL_FOUND)
 ENDIF(HAVE_FETCH_H)
+IF(OPENSSL_FOUND)
+       TARGET_LINK_LIBRARIES(rspamd-ucl ${OPENSSL_LIBRARIES})
+ENDIF(OPENSSL_FOUND)
 IF(NO_SHARED MATCHES "OFF")
     INSTALL(TARGETS rspamd-ucl
         LIBRARY DESTINATION ${LIBDIR}