[redis-plus-plus] update version to 1.3.6 (#28201)

* [redis-plus-plus] update version to 1.3.6

* update version
This commit is contained in:
JonLiu1993 2022-12-09 07:51:34 +08:00 committed by GitHub
parent 4a2a09b905
commit ed54c9a15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 21 deletions

View File

@ -8,8 +8,8 @@ index e85a158..e67681c 100644
# libuv dependency
- find_path(REDIS_PLUS_PLUS_ASYNC_LIB_HEADER NAMES uv.h)
- find_library(REDIS_PLUS_PLUS_ASYNC_LIB uv)
+ find_package(unofficial-libuv CONFIG REQUIRED)
+ set(REDIS_PLUS_PLUS_ASYNC_LIB unofficial::libuv::libuv)
+ find_package(libuv CONFIG REQUIRED)
+ set(REDIS_PLUS_PLUS_ASYNC_LIB $<IF:$<TARGET_EXISTS:uv_a>,uv_a,uv>)
else()
message(FATAL_ERROR "invalid REDIS_PLUS_PLUS_BUILD_ASYNC")
endif()

View File

@ -1,12 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 452cc0f..90932ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,6 +148,7 @@ if(REDIS_PLUS_PLUS_BUILD_SHARED)
target_compile_definitions(${SHARED_LIB} PRIVATE NOMINMAX)
set_target_properties(${SHARED_LIB} PROPERTIES CXX_STANDARD ${REDIS_PLUS_PLUS_CXX_STANDARD})
set_target_properties(${SHARED_LIB} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
+ target_link_libraries(${SHARED_LIB} PUBLIC Ws2_32.lib)
else()
target_compile_options(${SHARED_LIB} PRIVATE "-Wall" "-W" "-Werror")
endif()

View File

@ -1,11 +1,10 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sewenew/redis-plus-plus
REF e29c63db54653a660d7a0f556f670b7a6fce0a78 # 1.3.2
SHA512 47b18f41cfaf5e11d6eba1201a3da3a1ed355583cde0772de68e5f0f25953e1467c83249848b25b16c9db9e3f6c5df5e1dd832f4b3dd41289c69111867e48d8c
REF 39f5a515d048cc5ef897aaf319ddffb54ae9427c # 1.3.6
SHA512 f02fd77e9c8964cb0503e1a99edeaa793f4cf9365ef20b25ebf10001c1ed1fa9a6e90314092d9fb545a60168eb5bade161d57b17bb74068bdd52d356e484a505
HEAD_REF master
PATCHES
fix-ws2-linking-windows.patch
fix-conversion.patch
fix-dependency-libuv.patch
)

View File

@ -1,7 +1,6 @@
{
"name": "redis-plus-plus",
"version-semver": "1.3.2",
"port-version": 1,
"version-semver": "1.3.6",
"description": "This is a C++ client for Redis. It's based on hiredis, and written in C++ 11",
"homepage": "https://github.com/sewenew/redis-plus-plus",
"license": "Apache-2.0",

View File

@ -6569,8 +6569,8 @@
"port-version": 5
},
"redis-plus-plus": {
"baseline": "1.3.2",
"port-version": 1
"baseline": "1.3.6",
"port-version": 0
},
"refl-cpp": {
"baseline": "0.12.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ff28095e328281a0f0bba9ad251fb0881f08f5a2",
"version-semver": "1.3.6",
"port-version": 0
},
{
"git-tree": "bfb560234e651a06204f44976997b21466ba6a9d",
"version-semver": "1.3.2",