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 14:49:19 +0200
commit81bcca23882a606d0c9d3444bbeba4b3b455a595 (patch)
tree40a749135dc6f638c3d54237599a8f54ecce2e50
parent141e23d78974774217fc22671934d16499505890 (diff)
downloadcurl-bagder/cmake-win-unicode.tar.gz
cmake: set the unicode feature in curl-config on Windowsbagder/cmake-win-unicode
... if built that way. To make it match curl -V output.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e41d3c03..6f1fc7706 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}")