summaryrefslogtreecommitdiffstats
path: root/contrib/lc-btrie/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lc-btrie/CMakeLists.txt')
-rw-r--r--contrib/lc-btrie/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/lc-btrie/CMakeLists.txt b/contrib/lc-btrie/CMakeLists.txt
new file mode 100644
index 0000000..a5fe9e5
--- /dev/null
+++ b/contrib/lc-btrie/CMakeLists.txt
@@ -0,0 +1,6 @@
+SET(LCTRIESRC btrie.c)
+ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC})
+
+SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD")
+
+set_target_properties(lcbtrie PROPERTIES COMPILE_FLAGS "${LCTRIE_CFLAGS}") \ No newline at end of file