mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 19:27:56 +08:00
b9f003fb49
* [redis-plus-plus] Update to 1.2.1 and support Windows * [redis-plus-plus] Update to 1.2.1 and support Windows * [redis-plus-plus] Update to 1.2.1 and support Windows
13 lines
588 B
Diff
13 lines
588 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index eb3ff66..1309213 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -77,6 +77,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 WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
|
+ target_link_libraries(${SHARED_LIB} Ws2_32.lib)
|
|
endif()
|
|
|
|
target_link_libraries(${SHARED_LIB} ${HIREDIS_LIB})
|