summaryrefslogtreecommitdiff
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 10:38:27 +0100
commitd703f384e023708823192b9ba4515e66a05a1af6 (patch)
tree250e103b6cdcf2dd56b9a5e4227646030c087a6a
parentf25112074d8c501de39f5174b534501b4ce3781f (diff)
downloadcurl-bagder/cmake-gophers.tar.gz
cmake: enable gophers correctly in curl-configbagder/cmake-gophers
-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)