[cpr] Update cpr to version 1.11.0 (#41877)

This commit is contained in:
Deishelon 2024-11-01 19:44:19 +13:00 committed by GitHub
parent e3497b6ae5
commit 1e54a43d3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 10 deletions

View File

@ -1,13 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68b5343..fce2518 100644 index 70d3296..293ce95 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -103,7 +103,7 @@ if(CPR_ENABLE_CPPCHECK) @@ -379,7 +379,7 @@ if(CPR_BUILD_TESTS)
include(cmake/cppcheck.cmake) restore_variable(DESTINATION CMAKE_CXX_CLANG_TIDY BACKUP CMAKE_CXX_CLANG_TIDY_BKP)
endif() endif()
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
+if (1) +if (1)
else() else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror")
endif() if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")

View File

@ -4,7 +4,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO libcpr/cpr REPO libcpr/cpr
REF ${VERSION} REF ${VERSION}
SHA512 5e2fe69d5b4dfaa67f636098c8da904b43a22b21cc78bc52446e572ea47f492ce1de0f47fdc2cf34207729ccf007449278f218d8cdeef21f0b98356bca2e5e49 SHA512 c314fc576fb8be36bf43326a8a2d8b22d6b2fbb3b494695b84dd8077fc0401981e49890172fc2229d1c68292be2820cd4231d58bcb64326cbe4b73933c092d76
HEAD_REF master HEAD_REF master
PATCHES PATCHES
disable_werror.patch disable_werror.patch

View File

@ -1,7 +1,6 @@
{ {
"name": "cpr", "name": "cpr",
"version-semver": "1.10.5", "version-semver": "1.11.0",
"port-version": 2,
"description": "C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.", "description": "C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.",
"homepage": "https://github.com/libcpr/cpr", "homepage": "https://github.com/libcpr/cpr",
"license": "MIT", "license": "MIT",

View File

@ -2017,8 +2017,8 @@
"port-version": 0 "port-version": 0
}, },
"cpr": { "cpr": {
"baseline": "1.10.5", "baseline": "1.11.0",
"port-version": 2 "port-version": 0
}, },
"cpu-features": { "cpu-features": {
"baseline": "0.9.0", "baseline": "0.9.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "fcd72abf1ed00a511386932feb884c2c3caa8cd7",
"version-semver": "1.11.0",
"port-version": 0
},
{ {
"git-tree": "25dbacaabb8b12e7032cbad5e03434c983732f2a", "git-tree": "25dbacaabb8b12e7032cbad5e03434c983732f2a",
"version-semver": "1.10.5", "version-semver": "1.10.5",