[Tarantool-patches] [PATCH] build: enable smtp
Roman Khabibov
roman.habibov at tarantool.org
Thu Mar 18 13:08:14 MSK 2021
Enable smtp protocol in bundled libCURL.
---
@ChangeLog
* Enable smtp protocol in bundled libCURL (gh-####).
Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/curl-smtp
Issue: needed to https://github.com/tarantool/smtp/issues/24
P.S. Tarantool 2.8 only!
cmake/BuildLibCURL.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/BuildLibCURL.cmake b/cmake/BuildLibCURL.cmake
index 39a1d62fd..59f78d9e2 100644
--- a/cmake/BuildLibCURL.cmake
+++ b/cmake/BuildLibCURL.cmake
@@ -77,7 +77,7 @@ macro(curl_build)
# Switch off the group of protocols with special flag HTTP_ONLY:
# ftp, file, ldap, ldaps, rtsp, dict, telnet, tftp, pop3, imap, smtp.
- list(APPEND LIBCURL_CMAKE_FLAGS "-DHTTP_ONLY=ON")
+ list(APPEND LIBCURL_CMAKE_FLAGS "-DHTTP_ONLY=OFF")
# Additionaly disable some more protocols.
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_SMB=ON")
@@ -142,7 +142,7 @@ macro(curl_build)
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_TFTP=ON")
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_POP3=ON")
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_IMAP=ON")
- list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_SMTP=ON")
+ list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_SMTP=OFF")
include(ExternalProject)
ExternalProject_Add(
--
2.24.3 (Apple Git-128)
More information about the Tarantool-patches
mailing list