summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorRazvan Cojocaru <rzvncj@gmail.com>2021-01-11 13:00:36 +0200
committerJay Satiro <raysatiro@yahoo.com>2021-01-16 02:18:12 -0500
commit13fe0b6ade262e6ae5e595478b5bfcded86406ea (patch)
tree40d493a8ae676cd7fd503d73716275453ce2fc24 /lib/curl_config.h.cmake
parent30e7641d7d2eb46c0b67c0c495a0ea7e52333ee2 (diff)
downloadcurl-13fe0b6ade262e6ae5e595478b5bfcded86406ea.tar.gz
cmake: expose CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG
This does for cmake builds what --disable-openssl-auto-load-config does for autoconf builds. Closes https://github.com/curl/curl/pull/6435
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 082d76b37..d951ae950 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -1002,6 +1002,10 @@ ${SIZEOF_TIME_T_CODE}
/* if OpenSSL is in use */
#cmakedefine USE_OPENSSL 1
+/* Define to 1 if you don't want the OpenSSL configuration to be loaded
+ automatically */
+#cmakedefine CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1
+
/* to enable NGHTTP2 */
#cmakedefine USE_NGHTTP2 1