[Tarantool-patches] [PATCH] build: install curl headers
Roman Khabibov
roman.habibov at tarantool.org
Tue Dec 22 19:17:25 MSK 2020
Ship curl headers to system path include/tarantool.
---
Issue: https://github.com/tarantool/smtp/issues/24
Bracnh: https://github.com/tarantool/tarantool/tree/romanhabibov/curl-headers
cmake/BuildLibCURL.cmake | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cmake/BuildLibCURL.cmake b/cmake/BuildLibCURL.cmake
index 39a1d62fd..8fd063454 100644
--- a/cmake/BuildLibCURL.cmake
+++ b/cmake/BuildLibCURL.cmake
@@ -178,6 +178,11 @@ macro(curl_build)
set(CURL_LIBRARIES ${CURL_LIBRARIES} rt)
endif()
+ # Install headers.
+ install(DIRECTORY "${CURL_INCLUDE_DIRS}/curl"
+ DESTINATION ${MODULE_FULL_INCLUDEDIR}
+ FILES_MATCHING PATTERN "*.h")
+
unset(FOUND_ZLIB_ROOT_DIR)
unset(FOUND_OPENSSL_ROOT_DIR)
unset(LIBCURL_INSTALL_DIR)
--
2.24.3 (Apple Git-128)
More information about the Tarantool-patches
mailing list