aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-05-21 15:00:11 -0400
committerBen Burwell <ben@benburwell.com>2020-05-21 18:38:31 -0400
commitc365f2cb4ffcbef02d2e9a5e17aa9d7f1fe81df7 (patch)
tree6edbb7f1c12a8afbde06a56423a1c5092a9dbacd /CMakeLists.txt
parent5d965b48987457eb0db01c2eb65712aec37e49f5 (diff)
Add gemini protocol support
The gemini protocol's "speculative specification" is documented at the following URLs: https://gemini.circumlunar.space/docs/spec-spec.txt gopher://gemini.circumlunar.space/1/docs/spec-spec.txt gemini://gemini.circumlunar.space/docs/spec-spec.txt This patch introduces preliminary support for version 0.11.0 of the specification, as of March 1st 2020.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a311e1259..cb7bfb03b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,6 +169,8 @@ option(CURL_DISABLE_IMAP "to disable IMAP" OFF)
mark_as_advanced(CURL_DISABLE_IMAP)
option(CURL_DISABLE_SMTP "to disable SMTP" OFF)
mark_as_advanced(CURL_DISABLE_SMTP)
+option(CURL_DISABLE_GEMINI "to disable Gemini" OFF)
+mark_as_advanced(CURL_DISABLE_GEMINI)
option(CURL_DISABLE_GOPHER "to disable Gopher" OFF)
mark_as_advanced(CURL_DISABLE_GOPHER)
option(CURL_ENABLE_MQTT "to enable MQTT" OFF)
@@ -188,6 +190,7 @@ if(HTTP_ONLY)
set(CURL_DISABLE_SMB ON)
set(CURL_DISABLE_SMTP ON)
set(CURL_DISABLE_GOPHER ON)
+ set(CURL_DISABLE_GEMINI ON)
endif()
option(CURL_DISABLE_COOKIES "to disable cookies support" OFF)
@@ -1363,6 +1366,7 @@ _add_if("LDAPS" NOT CURL_DISABLE_LDAPS AND
(NOT USE_OPENLDAP AND HAVE_LDAP_SSL)))
_add_if("DICT" NOT CURL_DISABLE_DICT)
_add_if("TFTP" NOT CURL_DISABLE_TFTP)
+_add_if("GEMINI" NOT CURL_DISABLE_GEMINI)
_add_if("GOPHER" NOT CURL_DISABLE_GOPHER)
_add_if("POP3" NOT CURL_DISABLE_POP3)
_add_if("POP3S" NOT CURL_DISABLE_POP3 AND SSL_ENABLED)