curl: Enable HTTP/2 support by using nghttp2
This commit is contained in:
parent
a24dd93e93
commit
02dd24a928
8
Help/release/dev/curl-http2.rst
Normal file
8
Help/release/dev/curl-http2.rst
Normal file
@ -0,0 +1,8 @@
|
||||
curl-http2
|
||||
----------
|
||||
|
||||
* When building CMake itself from source and not using a system-provided
|
||||
libcurl, HTTP/2 support is now enabled for commands supporting
|
||||
network communication via ``http(s)``, such as :command:`file(DOWNLOAD)`,
|
||||
:command:`file(UPLOAD)`, and :command:`ctest_submit`.
|
||||
The precompiled binaries provided on ``cmake.org`` now support HTTP/2.
|
@ -38,6 +38,7 @@ set(ENABLE_THREADED_RESOLVER OFF CACHE INTERNAL "No curl POSIX threaded DNS look
|
||||
set(ENABLE_UNIX_SOCKETS OFF CACHE INTERNAL "No curl Unix domain sockets support")
|
||||
set(HTTP_ONLY OFF CACHE INTERNAL "Curl is not http-only")
|
||||
set(PICKY_COMPILER OFF CACHE INTERNAL "Enable picky compiler options")
|
||||
set(USE_NGHTTP2 ON)
|
||||
set(USE_WIN32_LDAP OFF CACHE INTERNAL "No curl Windows LDAP")
|
||||
if(CMAKE_USE_OPENSSL)
|
||||
elseif(WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user