Browse Source

* backends/cmake : fix library name

master
Alex 'AdUser' Z 8 years ago
parent
commit
3746c66cca
  1. 2
      src/backends/CMakeLists.txt

2
src/backends/CMakeLists.txt

@ -4,7 +4,7 @@ set(BACKENDS "")
add_library("f2b_backend_exec" MODULE "exec.c" "../strlcpy.c") add_library("f2b_backend_exec" MODULE "exec.c" "../strlcpy.c")
list(APPEND BACKENDS "f2b_backend_exec") list(APPEND BACKENDS "f2b_backend_exec")
find_library(REDIS_FOUND "pcre") find_library(REDIS_FOUND "hiredis")
if (WITH_REDIS AND REDIS_FOUND) if (WITH_REDIS AND REDIS_FOUND)
add_library("f2b_backend_redis" MODULE "redis.c" "../strlcpy.c") add_library("f2b_backend_redis" MODULE "redis.c" "../strlcpy.c")
target_link_libraries("f2b_backend_redis" "hiredis") target_link_libraries("f2b_backend_redis" "hiredis")

Loading…
Cancel
Save