summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-17 10:38:27 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-17 13:56:18 +0100
commitad338b390bb6e3baa4b95f466a104a809cb2c5b0 (patch)
tree3f5db61f82ea4cbd8b6591a2540c7594bf11afd3 /CMakeLists.txt
parent3abfadfc1973ec0047a5e3883bc7a7ead2fc14c7 (diff)
downloadcurl-ad338b390bb6e3baa4b95f466a104a809cb2c5b0.tar.gz
cmake: enable gophers correctly in curl-config
Closes #6336
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a1a6fe8e..7c26e2dcf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1401,6 +1401,7 @@ _add_if("LDAPS" NOT CURL_DISABLE_LDAPS AND
_add_if("DICT" NOT CURL_DISABLE_DICT)
_add_if("TFTP" NOT CURL_DISABLE_TFTP)
_add_if("GOPHER" NOT CURL_DISABLE_GOPHER)
+_add_if("GOPHERS" NOT CURL_DISABLE_GOPHER AND SSL_ENABLED)
_add_if("POP3" NOT CURL_DISABLE_POP3)
_add_if("POP3S" NOT CURL_DISABLE_POP3 AND SSL_ENABLED)
_add_if("IMAP" NOT CURL_DISABLE_IMAP)