Skip to content

Commit

Permalink
fix cmake to depend on the right hiredis_ssl_static lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed May 24, 2023
1 parent a3cdf8c commit bd0a5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if(REDIS_PLUS_PLUS_BUILD_STATIC)

if (TARGET hiredis::hiredis_ssl_static)
# If SSL is not enabled, this line will have no effect
string(REPLACE "hiredis::hiredis_ssl" "hiredis::hiredis_ssl_static" REDIS_PLUS_PLUS_HIREDIS_LIBS_STATIC
string(REPLACE "hiredis::hiredis_static_ssl" "hiredis::hiredis_ssl_static" REDIS_PLUS_PLUS_HIREDIS_LIBS_STATIC
"${REDIS_PLUS_PLUS_HIREDIS_LIBS_STATIC}")
endif()

Expand Down

0 comments on commit bd0a5fd

Please sign in to comment.