|
|
@ -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} |
|
|
|