curl enable http2, use nghttp2

This commit is contained in:
Force Charlie 2018-01-28 20:26:07 +08:00
parent c835db39e8
commit a66490101e
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: curl
Version: 7.58.0
Build-Depends: zlib, openssl, libssh2
Version: 7.58.0-1
Build-Depends: zlib, openssl, libssh2, nghttp2
Description: A library for transferring data with URLs
# For WINSSL create target triplet which contains set(CURL_USE_WINSSL ON)

View File

@ -48,6 +48,7 @@ vcpkg_configure_cmake(
-DBUILD_TESTING=OFF
-DBUILD_CURL_EXE=OFF
-DENABLE_MANUAL=OFF
-DUSE_NGHTTP2=ON
-DCURL_STATICLIB=${CURL_STATICLIB}
-DCMAKE_USE_OPENSSL=${USE_OPENSSL}
-DCMAKE_USE_WINSSL=${USE_WINSSL}