mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-27 13:10:52 +00:00
[cpprestsdk] Update to v2.10.16 (#11018)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
b4f8f14529
commit
2bc6cd714f
@ -1,5 +1,5 @@
|
||||
Source: cpprestsdk
|
||||
Version: 2.10.15-1
|
||||
Version: 2.10.16
|
||||
Build-Depends: openssl (!uwp&!windows), boost-system (!uwp&!windows),
|
||||
boost-date-time (!uwp&!windows), boost-regex (!uwp&!windows), boost-thread (!uwp&!windows),
|
||||
boost-filesystem (!uwp&!windows), boost-random (!uwp&!windows), boost-chrono (!uwp&!windows),
|
||||
|
@ -1,10 +1,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/cpprestsdk
|
||||
REF v2.10.15
|
||||
SHA512 ef8884c9f7fde2b6a25357ef0e7ee87b473a2e3140af2c5af0e3be7776ac2e8c0da431a356892020a3c37c84e30396350e2083cd4e1192a41fd3e099e74179f7
|
||||
REF v2.10.16
|
||||
SHA512 d850b26051439dd10edcecd006075c64c61c565193cd76870af175bd343a72ecc59485deb0f907807071a57dd256b67139ad5d016f19cb38f7142357f430be1c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -16,31 +14,22 @@ if(NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
-DWEBSOCKETPP_CONFIG_VERSION=${WEBSOCKETPP_PATH})
|
||||
endif()
|
||||
|
||||
set(CPPREST_EXCLUDE_BROTLI ON)
|
||||
if ("brotli" IN_LIST FEATURES)
|
||||
set(CPPREST_EXCLUDE_BROTLI OFF)
|
||||
endif()
|
||||
|
||||
set(CPPREST_EXCLUDE_COMPRESSION ON)
|
||||
if ("compression" IN_LIST FEATURES)
|
||||
set(CPPREST_EXCLUDE_COMPRESSION OFF)
|
||||
endif()
|
||||
|
||||
set(CPPREST_EXCLUDE_WEBSOCKETS ON)
|
||||
if("websockets" IN_LIST FEATURES)
|
||||
set(CPPREST_EXCLUDE_WEBSOCKETS OFF)
|
||||
endif()
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
INVERTED_FEATURES
|
||||
brotli CPPREST_EXCLUDE_BROTLI
|
||||
compression CPPREST_EXCLUDE_COMPRESSION
|
||||
websockets CPPREST_EXCLUDE_WEBSOCKETS
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}/Release
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
${OPTIONS}
|
||||
${FEATURE_OPTIONS}
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DCPPREST_EXCLUDE_BROTLI=${CPPREST_EXCLUDE_BROTLI}
|
||||
-DCPPREST_EXCLUDE_COMPRESSION=${CPPREST_EXCLUDE_COMPRESSION}
|
||||
-DCPPREST_EXCLUDE_WEBSOCKETS=${CPPREST_EXCLUDE_WEBSOCKETS}
|
||||
-DCPPREST_EXPORT_DIR=share/cpprestsdk
|
||||
-DWERROR=OFF
|
||||
OPTIONS_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user