summaryrefslogtreecommitdiffstats
path: root/contrib/lua-lpeg/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lua-lpeg/CMakeLists.txt')
-rw-r--r--contrib/lua-lpeg/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/lua-lpeg/CMakeLists.txt b/contrib/lua-lpeg/CMakeLists.txt
new file mode 100644
index 0000000..92dd018
--- /dev/null
+++ b/contrib/lua-lpeg/CMakeLists.txt
@@ -0,0 +1,9 @@
+SET(LPEGSRC lpcap.c
+ lpcode.c
+ lpprint.c
+ lptree.c
+ lpvm.c)
+
+SET(LIB_TYPE STATIC)
+ADD_LIBRARY(rspamd-lpeg ${LIB_TYPE} ${LPEGSRC})
+set_target_properties(rspamd-lpeg PROPERTIES COMPILE_FLAGS "${LPEG_CFLAGS}")