mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-26 17:54:48 +02:00
11 lines
504 B
CMake
11 lines
504 B
CMake
SET(OTTERYSRC chacha_merged.c
|
|
ottery.c
|
|
ottery_cpuinfo.c
|
|
ottery_entropy.c
|
|
ottery_global.c
|
|
chacha_cryptobox.c
|
|
aes_cryptobox.c)
|
|
ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
|
|
|
|
SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK -DOTTERY_NO_WIPE_STACK")
|
|
set_target_properties(ottery PROPERTIES COMPILE_FLAGS "${OTTERY_CFLAGS}") |