summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-22 14:49:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-22 19:12:11 +0200
commit67dede842adff126329b611a055608320e88a7b0 (patch)
tree32fd732ecf29e5f2f9898a893ae3088d9600fdc9
parent4bfca0a80763a1184a4ca489bf739abd5a5657c5 (diff)
downloadcurl-67dede842adff126329b611a055608320e88a7b0.tar.gz
cmake: set the unicode feature in curl-config on Windows
... if built that way. To make it match curl -V output. Reviewed-by: Marcel Raad Closes #6117
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e41d3c03..ca77ba946 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1382,6 +1382,7 @@ _add_if("HTTP2" USE_NGHTTP2)
_add_if("HTTP3" USE_NGTCP2 OR USE_QUICHE)
_add_if("MultiSSL" CURL_WITH_MULTI_SSL)
_add_if("HTTPS-proxy" SSL_ENABLED AND (USE_OPENSSL OR USE_GNUTLS OR USE_NSS))
+_add_if("unicode" ENABLE_UNICODE)
string(REPLACE ";" " " SUPPORT_FEATURES "${_items}")
message(STATUS "Enabled features: ${SUPPORT_FEATURES}")