Browse Source

* add redis backend to build system

master
Alex 'AdUser' Z 8 years ago
parent
commit
ad127f1512
  1. 5
      src/backends/CMakeLists.txt

5
src/backends/CMakeLists.txt

@ -4,6 +4,11 @@ set(BACKENDS "")
add_library("f2b_backend_exec" MODULE "exec.c") add_library("f2b_backend_exec" MODULE "exec.c")
list(APPEND BACKENDS "f2b_backend_exec") list(APPEND BACKENDS "f2b_backend_exec")
# TODO: check if library available
add_library("f2b_backend_redis" MODULE "redis.c")
target_link_libraries("f2b_backend_redis" "hiredis")
list(APPEND BACKENDS "f2b_backend_redis")
message(STATUS "- Backends : ${BACKENDS}") message(STATUS "- Backends : ${BACKENDS}")
install(TARGETS ${BACKENDS} install(TARGETS ${BACKENDS}

Loading…
Cancel
Save