aboutsummaryrefslogtreecommitdiffstats
path: root/src/ucl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/ucl/CMakeLists.txt')
-rw-r--r--src/ucl/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ucl/CMakeLists.txt b/src/ucl/CMakeLists.txt
index d4254aafb..45c1815e7 100644
--- a/src/ucl/CMakeLists.txt
+++ b/src/ucl/CMakeLists.txt
@@ -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}