CURL: allow building of http2 option for uwp (#4131)

* allow building of http2 option for uwp

* [curl] Revert version bump since package is unchanged
This commit is contained in:
Dale Stammen 2018-08-21 13:56:46 -07:00 committed by Robert Schumacher
parent a808ddb50a
commit 7b83eb8e94

View File

@ -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()