]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: enable gophers correctly in curl-config
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Dec 2020 09:38:27 +0000 (10:38 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Dec 2020 12:56:18 +0000 (13:56 +0100)
Closes #6336

CMakeLists.txt

index 6a1a6fe8efd1553500ded050ff2e1b4727e1b7d2..7c26e2dcf4596c1b8780bce1cff47c1686871cc3 100644 (file)
@@ -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)