diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-29 10:38:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-29 10:38:50 +0100 |
commit | e4358b2b8eee5dec84d88a917f7fde76dd03af93 (patch) | |
tree | 1806ed4eeb8856e3ac06f145a458c09a032cf803 /src/lua | |
parent | e2bc2b887fcc7b139eaf74566dfd199bad2791e2 (diff) | |
download | rspamd-e4358b2b8eee5dec84d88a917f7fde76dd03af93.tar.gz rspamd-e4358b2b8eee5dec84d88a917f7fde76dd03af93.zip |
Pre-compile config.h
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt index fead8405c..f05da4985 100644 --- a/src/lua/CMakeLists.txt +++ b/src/lua/CMakeLists.txt @@ -19,6 +19,7 @@ SET(LUASRC lua_common.c lua_ip.c) ADD_LIBRARY(rspamd-lua ${LINK_TYPE} ${LUASRC}) +ADD_PRECOMPILED_HEADER(rspamd-lua "${CMAKE_BINARY_DIR}/src/config.h") SET_TARGET_PROPERTIES(rspamd-lua PROPERTIES VERSION ${RSPAMD_VERSION}) TARGET_LINK_LIBRARIES(rspamd-lua rspamd-util) TARGET_LINK_LIBRARIES(rspamd-lua hiredis) |