1 2 3 4 5 6 7 8 9 10 11 12 13 14
SET(HIREDISSRC alloc.c async.c dict.c hiredis.c net.c read.c sds.c sockcompat.c ssl.c) SET(HIREDIS_CFLAGS "") ADD_LIBRARY(rspamd-hiredis STATIC ${HIREDISSRC}) SET_TARGET_PROPERTIES(rspamd-hiredis PROPERTIES COMPILE_FLAGS "${HIREDIS_CFLAGS}")