From: Daniel Stenberg Date: Thu, 22 Oct 2020 12:49:19 +0000 (+0200) Subject: cmake: set the unicode feature in curl-config on Windows X-Git-Tag: curl-7_74_0~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67dede842adff126329b611a055608320e88a7b0;p=thirdparty%2Fcurl.git 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e41d3c037..ca77ba9464 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}")