1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

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
This commit is contained in:
Daniel Stenberg 2020-10-22 14:49:19 +02:00
parent 4bfca0a807
commit 67dede842a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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}")