summaryrefslogtreecommitdiffstats
path: root/contrib/http-parser/CMakeLists.txt
blob: a5da7010c78d86fa70f6c8de5f5bdae1b1538243 (plain)
1
2
3
4
5
6
7
8
SET(HTTPSRC            http_parser.c)


SET(HTTP_COMPILE_FLAGS "-DRSPAMD_LIB")

ADD_LIBRARY(rspamd-http-parser STATIC ${HTTPSRC})
SET_TARGET_PROPERTIES(rspamd-http-parser PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-http-parser PROPERTIES COMPILE_FLAGS "${HTTP_COMPILE_FLAGS}")