mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 19:17:53 +08:00
23 lines
665 B
Diff
23 lines
665 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 9e78894..87aba5b 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -22,7 +22,7 @@ PROJECT(hiredis VERSION "${VERSION}")
|
||
|
|
||
|
SET(ENABLE_EXAMPLES OFF CACHE BOOL "Enable building hiredis examples")
|
||
|
|
||
|
-ADD_LIBRARY(hiredis SHARED
|
||
|
+ADD_LIBRARY(hiredis
|
||
|
async.c
|
||
|
dict.c
|
||
|
hiredis.c
|
||
|
@@ -60,7 +60,7 @@ IF(ENABLE_SSL)
|
||
|
ENDIF()
|
||
|
ENDIF()
|
||
|
FIND_PACKAGE(OpenSSL REQUIRED)
|
||
|
- ADD_LIBRARY(hiredis_ssl SHARED
|
||
|
+ ADD_LIBRARY(hiredis_ssl
|
||
|
ssl.c)
|
||
|
TARGET_INCLUDE_DIRECTORIES(hiredis_ssl PRIVATE "${OPENSSL_INCLUDE_DIR}")
|
||
|
TARGET_LINK_LIBRARIES(hiredis_ssl PRIVATE ${OPENSSL_LIBRARIES})
|