forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[redis-plus-plus] update to 1.2.3 (microsoft#18347)
* [redis-plus-plus] update to 1.2.3 * update version
- Loading branch information
1 parent
dc94103
commit 610d218
Showing
7 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index eb3ff66..1309213 100644 | ||
index 452cc0f..90932ce 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -77,6 +77,7 @@ if (REDIS_PLUS_PLUS_BUILD_SHARED) | ||
@@ -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} CXX_EXTENSIONS OFF) | ||
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} Ws2_32.lib) | ||
+ target_link_libraries(${SHARED_LIB} PUBLIC Ws2_32.lib) | ||
else() | ||
target_compile_options(${SHARED_LIB} PRIVATE "-Wall" "-W" "-Werror") | ||
endif() | ||
|
||
target_link_libraries(${SHARED_LIB} ${HIREDIS_LIB}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "redis-plus-plus", | ||
"version-semver": "1.2.3", | ||
"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", | ||
"dependencies": [ | ||
"hiredis" | ||
], | ||
"features": { | ||
"cxx17": { | ||
"description": "Build redis-plus-plus with cxx 17 standard" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters