vcpkg/ports/hiredis/support-static-in-win.patch
Kevin Lalumiere 0c9285e534
[hiredis] update to 1.0.0 (Fix #13256) (#14734)
* Update to version 1.0.0

Some patches were removed since they are no longer required. Indeed, the
repository https://github.com/redis/hiredis@v1.0.0 fixes many of the
issues our patches were adressing.

* Fix cmake targets for ssl feature
2020-11-30 10:17:12 -08:00

18 lines
458 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e78894..87aba5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,4 +22,4 @@ PROJECT(hiredis VERSION "${VERSION}")
ENDIF()
-ADD_LIBRARY(hiredis SHARED ${hiredis_sources})
+ADD_LIBRARY(hiredis ${hiredis_sources})
@@ -60,5 +60,5 @@ IF(ENABLE_SSL)
SET(hiredis_ssl_sources
ssl.c)
- ADD_LIBRARY(hiredis_ssl SHARED
+ ADD_LIBRARY(hiredis_ssl
${hiredis_ssl_sources})