Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cpr] Update to 1.10.0 #29946

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ports/cpr/001-cpr-config.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
diff --git a/cpr/CMakeLists.txt b/cpr/CMakeLists.txt
index 66fc9eb..cc00c72 100644
index 3a182d4..f0725d5 100644
--- a/cpr/CMakeLists.txt
+++ b/cpr/CMakeLists.txt
@@ -30,6 +30,10 @@ set_target_properties(cpr
VERSION ${${PROJECT_NAME}_VERSION}
SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR})
@@ -46,6 +46,10 @@ set_target_properties(cpr
VERSION ${${PROJECT_NAME}_VERSION}
SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR})

+if (NOT DISABLE_INSTALL_HEADERS)
+ install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../include/cpr DESTINATION include)
Expand Down
6 changes: 3 additions & 3 deletions ports/cpr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libcpr/cpr
REF a2d35a1cb9f3f7e2f1469d6a189751331dc99f96 #v1.9.3
SHA512 5df799fa53d51ba020a860ff928123921ed0ba59152de2b7e9d88b54ace820f5881fc72d056fca5679a7710357aa25854fa6dd6f9d230338b5378aebfe2bd957
REF "${VERSION}"
SHA512 90fa19dbb0a8a53e1b6c92a1c6eec7cb1e41f4b56c2c392e4f71edcc5574a6cd5fd906959c1da39d20cb012ab5d430955814bb88ef7f7a74dac7a1f226abbe85
HEAD_REF master
PATCHES
001-cpr-config.patch
Expand All @@ -31,4 +31,4 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cpr)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
2 changes: 1 addition & 1 deletion ports/cpr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cpr",
"version-semver": "1.9.3",
"version-semver": "1.10.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
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@
"port-version": 0
},
"cpr": {
"baseline": "1.9.3",
"baseline": "1.10.0",
"port-version": 0
},
"cpu-features": {
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cpr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2d13c6b33e70d984e7d23b646f6e6c659da6097d",
"version-semver": "1.10.0",
"port-version": 0
},
{
"git-tree": "13181536fae6181da65a2d2522a814fffb61bb83",
"version-semver": "1.9.3",
Expand Down