summaryrefslogtreecommitdiffstats
path: root/contrib/hiredis/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hiredis/CMakeLists.txt')
-rw-r--r--contrib/hiredis/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/hiredis/CMakeLists.txt b/contrib/hiredis/CMakeLists.txt
new file mode 100644
index 0000000..1e05631
--- /dev/null
+++ b/contrib/hiredis/CMakeLists.txt
@@ -0,0 +1,11 @@
+SET(HIREDISSRC async.c
+ dict.c
+ hiredis.c
+ net.c
+ read.c
+ sds.c)
+
+SET(HIREDIS_CFLAGS "")
+ADD_LIBRARY(rspamd-hiredis STATIC ${HIREDISSRC})
+
+SET_TARGET_PROPERTIES(rspamd-hiredis PROPERTIES COMPILE_FLAGS "${HIREDIS_CFLAGS}") \ No newline at end of file