diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-11 09:57:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-11 09:57:13 +0000 |
commit | 34b41a21d7b4bcca1f662b4bdbd8618397e10bb5 (patch) | |
tree | 07d60bb998255fd64b6e9650a8a2f46ed9db0108 /contrib/lc-btrie/CMakeLists.txt | |
parent | 408ebf516d8d4c6c945b2126173d7de08ab29d3f (diff) | |
download | rspamd-34b41a21d7b4bcca1f662b4bdbd8618397e10bb5.tar.gz rspamd-34b41a21d7b4bcca1f662b4bdbd8618397e10bb5.zip |
Add Level-Compressed Tree Bitmap contrib code
Implementation by: Geoffrey T. Dairiki <dairiki@dairiki.org>
Diffstat (limited to 'contrib/lc-btrie/CMakeLists.txt')
-rw-r--r-- | contrib/lc-btrie/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/lc-btrie/CMakeLists.txt b/contrib/lc-btrie/CMakeLists.txt new file mode 100644 index 000000000..7ae9ce063 --- /dev/null +++ b/contrib/lc-btrie/CMakeLists.txt @@ -0,0 +1,8 @@ +SET(LCTRIESRC btrie.c) +ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC}) + +SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD") +if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") + SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O3") +endif () +set_target_properties(lcbtrie PROPERTIES COMPILE_FLAGS "${LCTRIE_CFLAGS}")
\ No newline at end of file |