aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForce Charlie <charlieio@outlook.com>2018-01-28 20:26:07 +0800
committerForce Charlie <charlieio@outlook.com>2018-01-28 20:26:07 +0800
commita66490101e23a71e214ed4a67051b00b46c0adfc (patch)
tree89e0789e65bc0bdab38020c93b905cb5d609464a
parentc835db39e8c3201383a1e0e3b5dcea41afd68165 (diff)
downloadvcpkg-a66490101e23a71e214ed4a67051b00b46c0adfc.tar.gz
vcpkg-a66490101e23a71e214ed4a67051b00b46c0adfc.zip
curl enable http2, use nghttp2
-rw-r--r--ports/curl/CONTROL4
-rw-r--r--ports/curl/portfile.cmake1
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/curl/CONTROL b/ports/curl/CONTROL
index 450f43d59..6db37600a 100644
--- a/ports/curl/CONTROL
+++ b/ports/curl/CONTROL
@@ -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)
diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake
index 64001704a..4516793a2 100644
--- a/ports/curl/portfile.cmake
+++ b/ports/curl/portfile.cmake
@@ -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}