mirror of
https://github.com/curl/curl.git
synced 2026-04-26 00:52:16 +03:00
cmake: make HTTP_ONLY also disable MQTT
... and alphasort the order of disabling protocols to make it easier to browse. Closes #5931
This commit is contained in:
parent
d799b77372
commit
dc95c4e022
1 changed files with 9 additions and 8 deletions
|
|
@ -194,19 +194,20 @@ option(CURL_DISABLE_MQTT "to disable MQTT" OFF)
|
|||
mark_as_advanced(CURL_DISABLE_MQTT)
|
||||
|
||||
if(HTTP_ONLY)
|
||||
set(CURL_DISABLE_FTP ON)
|
||||
set(CURL_DISABLE_LDAP ON)
|
||||
set(CURL_DISABLE_LDAPS ON)
|
||||
set(CURL_DISABLE_TELNET ON)
|
||||
set(CURL_DISABLE_DICT ON)
|
||||
set(CURL_DISABLE_FILE ON)
|
||||
set(CURL_DISABLE_TFTP ON)
|
||||
set(CURL_DISABLE_RTSP ON)
|
||||
set(CURL_DISABLE_POP3 ON)
|
||||
set(CURL_DISABLE_FTP ON)
|
||||
set(CURL_DISABLE_GOPHER ON)
|
||||
set(CURL_DISABLE_IMAP ON)
|
||||
set(CURL_DISABLE_LDAP ON)
|
||||
set(CURL_DISABLE_LDAPS ON)
|
||||
set(CURL_DISABLE_MQTT ON)
|
||||
set(CURL_DISABLE_POP3 ON)
|
||||
set(CURL_DISABLE_RTSP ON)
|
||||
set(CURL_DISABLE_SMB ON)
|
||||
set(CURL_DISABLE_SMTP ON)
|
||||
set(CURL_DISABLE_GOPHER ON)
|
||||
set(CURL_DISABLE_TELNET ON)
|
||||
set(CURL_DISABLE_TFTP ON)
|
||||
endif()
|
||||
|
||||
option(CURL_DISABLE_COOKIES "to disable cookies support" OFF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue