diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-07 11:08:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-07 14:30:47 +0200 |
commit | dc95c4e022e311d74d4e22eff0ddc9057c377b49 (patch) | |
tree | 6c35ade66e4f0050247db5d0b598390efec0dd6f | |
parent | d799b77372f751b4efebb11431243a37eddaef6a (diff) | |
download | curl-dc95c4e022e311d74d4e22eff0ddc9057c377b49.tar.gz |
cmake: make HTTP_ONLY also disable MQTT
... and alphasort the order of disabling protocols to make it easier to
browse.
Closes #5931
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 516f162ee..907b90e9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -194,19 +194,20 @@ option(CURL_DISABLE_MQTT "to disable MQTT" OFF) mark_as_advanced(CURL_DISABLE_MQTT) if(HTTP_ONLY) + set(CURL_DISABLE_DICT ON) + set(CURL_DISABLE_FILE 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_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_MQTT ON) set(CURL_DISABLE_POP3 ON) - set(CURL_DISABLE_IMAP 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) |