aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Creager <dcreager@google.com>2015-11-10 14:46:49 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-11-10 22:38:52 +0100
commita215381c94e8e4d03d69e858925b4ae84ca7bcd8 (patch)
treee83dea383a239ebea76696ff84c760be779e0ee4 /lib
parent3e0d64d075f7907f1ba322eb427fd07b96c1258c (diff)
cmake: Add missing feature macros in config header
The curl_config.h file can be generated either from curl_config.h.cmake or curl_config.h.in, depending on whether you're building using CMake or the autotools. The CMake template header doesn't include entries for all of the protocols that you can disable, which (I think) means that you can't actually disable those protocols when building via CMake. Closes #523
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_config.h.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 1c9f47365..203ade687 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -24,6 +24,12 @@
/* to disable FTP */
#cmakedefine CURL_DISABLE_FTP 1
+/* to disable GOPHER */
+#cmakedefine CURL_DISABLE_GOPHER 1
+
+/* to disable IMAP */
+#cmakedefine CURL_DISABLE_IMAP 1
+
/* to disable HTTP */
#cmakedefine CURL_DISABLE_HTTP 1
@@ -33,9 +39,15 @@
/* to disable LDAPS */
#cmakedefine CURL_DISABLE_LDAPS 1
+/* to disable POP3 */
+#cmakedefine CURL_DISABLE_POP3 1
+
/* to disable proxies */
#cmakedefine CURL_DISABLE_PROXY 1
+/* to disable SMTP */
+#cmakedefine CURL_DISABLE_SMTP 1
+
/* to disable TELNET */
#cmakedefine CURL_DISABLE_TELNET 1