]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: set the unicode feature in curl-config on Windows
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Oct 2020 12:49:19 +0000 (14:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Oct 2020 17:12:11 +0000 (19:12 +0200)
... if built that way. To make it match curl -V output.

Reviewed-by: Marcel Raad
Closes #6117

CMakeLists.txt

index 7e41d3c037e8deb3142466bf9b8a68a5650a1b03..ca77ba9464a891e07acb750ff573990889780314 100644 (file)
@@ -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}")