[cpp-httplib] update to 0.27.0 (#47998)

This commit is contained in:
toge 2025-10-29 05:03:53 +09:00 committed by GitHub
parent f3c40c6ba7
commit 8a712a6353
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 17 deletions

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d39958a..cdee3ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ if(BUILD_SHARED_LIBS AND WIN32 AND HTTPLIB_COMPILE)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()
-if(CMAKE_SYSTEM_NAME MATCHES "Windows" AND ${CMAKE_SYSTEM_VERSION} VERSION_LESS "10.0.0")
+if(CMAKE_SYSTEM_NAME MATCHES "Windows" AND DEFINED CMAKE_SYSTEM_VERSION AND CMAKE_SYSTEM_VERSION VERSION_LESS "10.0.0")
message(SEND_ERROR "Windows ${CMAKE_SYSTEM_VERSION} or lower is not supported. Please use Windows 10 or later.")
endif()
if(CMAKE_SIZEOF_VOID_P LESS 8)

View File

@ -2,11 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO yhirose/cpp-httplib
REF "v${VERSION}"
SHA512 b364500f76e2ecb0fe21b032d831272e3f1dfeea71af74e325f8fc4ce9dcdb3c941b97a5b422bdeafb9facd058597b90f8bfc284fb9afe3c33fefa15dd5a010b
SHA512 884d6be8209d8128af2b11c35d7fc592d8a236a65cdcd9b123a77aa73fbd0dbd03c1cbe17cf4dd92797b06d312c9476d59646b9034d8e559095852b021138acc
HEAD_REF master
PATCHES
fix-find-brotli.patch
fix-system-version.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

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

View File

@ -1981,7 +1981,7 @@
"port-version": 0
},
"cpp-httplib": {
"baseline": "0.26.0",
"baseline": "0.27.0",
"port-version": 0
},
"cpp-ipc": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80a9dfe4267df4960700b2c9474b241ab10c5dbf",
"version": "0.27.0",
"port-version": 0
},
{
"git-tree": "c6c10f2b887998ab2c4e150e3f35d6e29694f9d0",
"version": "0.26.0",