aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Stammen <dalestam@microsoft.com>2018-08-21 13:56:46 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-08-21 13:56:46 -0700
commit7b83eb8e9464df16831c5a96cd9d4d1dcc2ed21a (patch)
tree96a53f00bd0821bf5b8d3250883cebc8ba491cb4
parenta808ddb50ad1d0584631b199a9f6558b4913dd0e (diff)
downloadvcpkg-7b83eb8e9464df16831c5a96cd9d4d1dcc2ed21a.tar.gz
vcpkg-7b83eb8e9464df16831c5a96cd9d4d1dcc2ed21a.zip
CURL: allow building of http2 option for uwp (#4131)
* allow building of http2 option for uwp * [curl] Revert version bump since package is unchanged
-rw-r--r--ports/curl/portfile.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake
index 075f9856e..cd2ed8b19 100644
--- a/ports/curl/portfile.cmake
+++ b/ports/curl/portfile.cmake
@@ -21,10 +21,6 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" CURL_STATICLIB)
# Support HTTP2 TSL Download https://curl.haxx.se/ca/cacert.pem rename to curl-ca-bundle.crt, copy it to libcurl.dll location.
set(HTTP2_OPTIONS)
if("http2" IN_LIST FEATURES)
- if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "The http2 feature cannot be enabled when building for UWP.")
- endif()
-
set(HTTP2_OPTIONS -DUSE_NGHTTP2=ON)
endif()