mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
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:
parent
a808ddb50a
commit
7b83eb8e94
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user