mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
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
This commit is contained in:
parent
3e0d64d075
commit
a215381c94
@ -24,6 +24,12 @@
|
|||||||
/* to disable FTP */
|
/* to disable FTP */
|
||||||
#cmakedefine CURL_DISABLE_FTP 1
|
#cmakedefine CURL_DISABLE_FTP 1
|
||||||
|
|
||||||
|
/* to disable GOPHER */
|
||||||
|
#cmakedefine CURL_DISABLE_GOPHER 1
|
||||||
|
|
||||||
|
/* to disable IMAP */
|
||||||
|
#cmakedefine CURL_DISABLE_IMAP 1
|
||||||
|
|
||||||
/* to disable HTTP */
|
/* to disable HTTP */
|
||||||
#cmakedefine CURL_DISABLE_HTTP 1
|
#cmakedefine CURL_DISABLE_HTTP 1
|
||||||
|
|
||||||
@ -33,9 +39,15 @@
|
|||||||
/* to disable LDAPS */
|
/* to disable LDAPS */
|
||||||
#cmakedefine CURL_DISABLE_LDAPS 1
|
#cmakedefine CURL_DISABLE_LDAPS 1
|
||||||
|
|
||||||
|
/* to disable POP3 */
|
||||||
|
#cmakedefine CURL_DISABLE_POP3 1
|
||||||
|
|
||||||
/* to disable proxies */
|
/* to disable proxies */
|
||||||
#cmakedefine CURL_DISABLE_PROXY 1
|
#cmakedefine CURL_DISABLE_PROXY 1
|
||||||
|
|
||||||
|
/* to disable SMTP */
|
||||||
|
#cmakedefine CURL_DISABLE_SMTP 1
|
||||||
|
|
||||||
/* to disable TELNET */
|
/* to disable TELNET */
|
||||||
#cmakedefine CURL_DISABLE_TELNET 1
|
#cmakedefine CURL_DISABLE_TELNET 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user