Skip to content

Commit

Permalink
[cpr] 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Nov 7, 2024
1 parent 36c41f8 commit adb3e03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions ports/cpr/disable_werror.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68b5343..fce2518 100644
index 70d3296..293ce95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,7 +103,7 @@ if(CPR_ENABLE_CPPCHECK)
include(cmake/cppcheck.cmake)
@@ -379,7 +379,7 @@ if(CPR_BUILD_TESTS)
restore_variable(DESTINATION CMAKE_CXX_CLANG_TIDY BACKUP CMAKE_CXX_CLANG_TIDY_BKP)
endif()

-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
+if (1)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror")
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
2 changes: 1 addition & 1 deletion ports/cpr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libcpr/cpr
REF ${VERSION}
SHA512 5e2fe69d5b4dfaa67f636098c8da904b43a22b21cc78bc52446e572ea47f492ce1de0f47fdc2cf34207729ccf007449278f218d8cdeef21f0b98356bca2e5e49
SHA512 c314fc576fb8be36bf43326a8a2d8b22d6b2fbb3b494695b84dd8077fc0401981e49890172fc2229d1c68292be2820cd4231d58bcb64326cbe4b73933c092d76
HEAD_REF master
PATCHES
disable_werror.patch
Expand Down
3 changes: 1 addition & 2 deletions ports/cpr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "cpr",
"version-semver": "1.10.5",
"port-version": 2,
"version-semver": "1.11.0",
"description": "C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.",
"homepage": "https://github.com/libcpr/cpr",
"license": "MIT",
Expand Down

0 comments on commit adb3e03

Please sign in to comment.