[cpp-httplib] update to 0.12.2. (#30737)

* Update cpp-httplib to 0.12.2

* Update CI baseline
This commit is contained in:
Argentoz 2023-04-11 00:28:24 +03:00 committed by GitHub
parent 691dd562b5
commit f6ab2d05eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 12 deletions

View File

@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt
index 709390a..3fd83aa 100644 index c98daf5..88d1aad 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -127,9 +127,9 @@ endif() @@ -128,9 +128,9 @@ endif()
# Adds our cmake folder to the search path for find_package # Adds our cmake folder to the search path for find_package
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
if(HTTPLIB_REQUIRE_BROTLI) if(HTTPLIB_REQUIRE_BROTLI)
@ -14,9 +14,9 @@ index 709390a..3fd83aa 100644
endif() endif()
# Just setting this variable here for people building in-tree # Just setting this variable here for people building in-tree
if(Brotli_FOUND) if(Brotli_FOUND)
@@ -206,9 +206,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} @@ -209,9 +209,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
$<$<PLATFORM_ID:Windows>:crypt32> # Needed for API from MacOS Security framework
$<$<PLATFORM_ID:Windows>:cryptui> "$<$<AND:$<PLATFORM_ID:Darwin>,$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>>:-framework CoreFoundation -framework Security>"
# Can't put multiple targets in a single generator expression or it bugs out. # Can't put multiple targets in a single generator expression or it bugs out.
- $<$<BOOL:${HTTPLIB_IS_USING_BROTLI}>:Brotli::common> - $<$<BOOL:${HTTPLIB_IS_USING_BROTLI}>:Brotli::common>
- $<$<BOOL:${HTTPLIB_IS_USING_BROTLI}>:Brotli::encoder> - $<$<BOOL:${HTTPLIB_IS_USING_BROTLI}>:Brotli::encoder>
@ -27,7 +27,7 @@ index 709390a..3fd83aa 100644
$<$<BOOL:${HTTPLIB_IS_USING_ZLIB}>:ZLIB::ZLIB> $<$<BOOL:${HTTPLIB_IS_USING_ZLIB}>:ZLIB::ZLIB>
$<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::SSL> $<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::SSL>
$<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::Crypto> $<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::Crypto>
@@ -265,9 +265,6 @@ install(FILES "${_httplib_build_includedir}/httplib.h" TYPE INCLUDE) @@ -266,9 +266,6 @@ install(FILES "${_httplib_build_includedir}/httplib.h" TYPE INCLUDE)
install(FILES install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"

View File

@ -2,8 +2,8 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO yhirose/cpp-httplib REPO yhirose/cpp-httplib
REF v0.11.3 REF v0.12.2
SHA512 b0c46bf11c8bc84ab52143559ff1c4682b02504921855e5cd7e82bc65a04b192281ef7a124c7c7dfe928ae3842d5065097b6a4608be1c74dc51b563b15b93d0f SHA512 dda47f76eaf5b4daa35f1295e482f1d81dd8823ae06339b9f4c93e4fbe7b54ae28760d3083b5d5cff212f1a679616adfa47dbb9d06c6810fac4b58197f575429
HEAD_REF master HEAD_REF master
PATCHES PATCHES
fix-find-brotli.patch fix-find-brotli.patch

View File

@ -1,7 +1,6 @@
{ {
"name": "cpp-httplib", "name": "cpp-httplib",
"version": "0.11.3", "version": "0.12.2",
"port-version": 1,
"description": "A single file C++11 header-only HTTP/HTTPS server and client library", "description": "A single file C++11 header-only HTTP/HTTPS server and client library",
"homepage": "https://github.com/yhirose/cpp-httplib", "homepage": "https://github.com/yhirose/cpp-httplib",
"license": "MIT", "license": "MIT",

View File

@ -1721,8 +1721,8 @@
"port-version": 0 "port-version": 0
}, },
"cpp-httplib": { "cpp-httplib": {
"baseline": "0.11.3", "baseline": "0.12.2",
"port-version": 1 "port-version": 0
}, },
"cpp-ipc": { "cpp-ipc": {
"baseline": "1.2.0", "baseline": "1.2.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "05e123da2bcd7b05fc8c31fd88e6d3d5aa06d520",
"version": "0.12.2",
"port-version": 0
},
{ {
"git-tree": "d5bea8aab6eaa201dfd01b054327e3c379ab0864", "git-tree": "d5bea8aab6eaa201dfd01b054327e3c379ab0864",
"version": "0.11.3", "version": "0.11.3",