diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-21 14:18:42 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-21 14:18:42 +0000 |
commit | 81e8e5e413ad8ba9dfb8b8f7da5ab2939dac4534 (patch) | |
tree | a14b6ebb14c83f03c8dd056b7be4a4843cd56b51 /src/CMakeLists.txt | |
parent | d73a3db2211150ec12bd3c91e7e78b74b6ad19a0 (diff) | |
download | rspamd-81e8e5e413ad8ba9dfb8b8f7da5ab2939dac4534.tar.gz rspamd-81e8e5e413ad8ba9dfb8b8f7da5ab2939dac4534.zip |
[Feature] Use own code for parsing of date
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7254eefc2..36ab66f73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -138,6 +138,11 @@ RAGEL_TARGET(ragel_rfc2047 DEPENDS ${RAGEL_DEPENDS} COMPILE_FLAGS -G2 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/rfc2047.rl.c) +RAGEL_TARGET(ragel_smtp_date + INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/smtp_date_parser.rl + DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -G2 + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/date_parser.rl.c) ######################### LINK SECTION ############################### ADD_LIBRARY(rspamd-server STATIC @@ -154,7 +159,8 @@ ADD_LIBRARY(rspamd-server STATIC "${RAGEL_ragel_newlines_strip_OUTPUTS}" "${RAGEL_ragel_content_type_OUTPUTS}" "${RAGEL_ragel_content_disposition_OUTPUTS}" - "${RAGEL_ragel_rfc2047_OUTPUTS}") + "${RAGEL_ragel_rfc2047_OUTPUTS}" + "${RAGEL_ragel_smtp_date_OUTPUTS}") TARGET_LINK_LIBRARIES(rspamd-server rspamd-http-parser) TARGET_LINK_LIBRARIES(rspamd-server rspamd-cdb) TARGET_LINK_LIBRARIES(rspamd-server rspamd-lpeg) |