diff options
-rw-r--r-- | Help/release/dev/curl-http2.rst | 8 | ||||
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/release/dev/curl-http2.rst b/Help/release/dev/curl-http2.rst new file mode 100644 index 0000000000..8390a425e9 --- /dev/null +++ b/Help/release/dev/curl-http2.rst @@ -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. diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 5c732efd25..c90e768ba3 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -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) |