mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
[cpp-httplib] update to 0.16.0 (#39380)
Fixes #39371 Update cpp-httplib to the latest version 0.16.0
This commit is contained in:
parent
22a35a536c
commit
37ed3467cf
@ -1,8 +1,8 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 73de511..940b6ab 100644
|
||||
index e27481b..51bfdf1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -141,10 +141,10 @@ endif()
|
||||
@@ -146,10 +146,10 @@ endif()
|
||||
# This is so we can use our custom FindBrotli.cmake
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
if(HTTPLIB_REQUIRE_BROTLI)
|
||||
@ -15,7 +15,7 @@ index 73de511..940b6ab 100644
|
||||
set(HTTPLIB_IS_USING_BROTLI ${Brotli_FOUND})
|
||||
endif()
|
||||
|
||||
@@ -217,9 +217,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
|
||||
@@ -223,9 +223,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
|
||||
# Needed for API from MacOS Security framework
|
||||
"$<$<AND:$<PLATFORM_ID:Darwin>,$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>,$<BOOL:${HTTPLIB_USE_CERTS_FROM_MACOSX_KEYCHAIN}>>:-framework CoreFoundation -framework Security>"
|
||||
# Can't put multiple targets in a single generator expression or it bugs out.
|
||||
@ -28,7 +28,7 @@ index 73de511..940b6ab 100644
|
||||
$<$<BOOL:${HTTPLIB_IS_USING_ZLIB}>:ZLIB::ZLIB>
|
||||
$<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::SSL>
|
||||
$<$<BOOL:${HTTPLIB_IS_USING_OPENSSL}>:OpenSSL::Crypto>
|
||||
@@ -275,9 +275,6 @@ if(HTTPLIB_INSTALL)
|
||||
@@ -281,9 +281,6 @@ if(HTTPLIB_INSTALL)
|
||||
install(FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
|
||||
@ -38,10 +38,10 @@ index 73de511..940b6ab 100644
|
||||
DESTINATION ${_TARGET_INSTALL_CMAKEDIR}
|
||||
)
|
||||
|
||||
diff --git a/httplibConfig.cmake.in b/httplibConfig.cmake.in
|
||||
diff --git a/cmake/httplibConfig.cmake.in b/cmake/httplibConfig.cmake.in
|
||||
index 93dff32..8c6bc11 100644
|
||||
--- a/httplibConfig.cmake.in
|
||||
+++ b/httplibConfig.cmake.in
|
||||
--- a/cmake/httplibConfig.cmake.in
|
||||
+++ b/cmake/httplibConfig.cmake.in
|
||||
@@ -32,7 +32,7 @@ if(@HTTPLIB_IS_USING_BROTLI@)
|
||||
# Note that the FindBrotli.cmake file is installed in the same dir as this file.
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
@ -2,7 +2,7 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO yhirose/cpp-httplib
|
||||
REF "v${VERSION}"
|
||||
SHA512 f7fc9c9eb71f091b82958e023a7b417b30d2590fd5d1a920d1c98361f34bcaca796dbeda7f9fdb8b2c722a8968977b77463c6cbb252cba9823a79c22471fa439
|
||||
SHA512 63dc5a50f425e7be909d60db138caa1b9d7260c5d4db26603011a329f0d6a645d56f436c79466fbe662f24a94bc0f72926062b3ed49cb658eb91a6bdb2ddf25b
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-find-brotli.patch
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpp-httplib",
|
||||
"version": "0.15.3",
|
||||
"version": "0.16.0",
|
||||
"description": "A single file C++11 header-only HTTP/HTTPS server and client library",
|
||||
"homepage": "https://github.com/yhirose/cpp-httplib",
|
||||
"license": "MIT",
|
||||
|
@ -1865,7 +1865,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"cpp-httplib": {
|
||||
"baseline": "0.15.3",
|
||||
"baseline": "0.16.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"cpp-ipc": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "caa3be04dad9a8bb2fd223fcd97ab8b1a1597484",
|
||||
"version": "0.16.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "8378b4e8bb46f2879c44465e1084a8eef0dd4318",
|
||||
"version": "0.15.3",
|
||||
|
Loading…
Reference in New Issue
Block a user