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/libutil/CMakeLists.txt | |
parent | e2bc2b887fcc7b139eaf74566dfd199bad2791e2 (diff) | |
download | rspamd-e4358b2b8eee5dec84d88a917f7fde76dd03af93.tar.gz rspamd-e4358b2b8eee5dec84d88a917f7fde76dd03af93.zip |
Pre-compile config.h
Diffstat (limited to 'src/libutil/CMakeLists.txt')
-rw-r--r-- | src/libutil/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/CMakeLists.txt b/src/libutil/CMakeLists.txt index 1475022f6..7597a9f6e 100644 --- a/src/libutil/CMakeLists.txt +++ b/src/libutil/CMakeLists.txt @@ -21,7 +21,7 @@ IF(CMAKE_COMPILER_IS_GNUCC) SET_TARGET_PROPERTIES(rspamd-util PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing") ENDIF(CMAKE_COMPILER_IS_GNUCC) - +ADD_PRECOMPILED_HEADER(rspamd-util "${CMAKE_BINARY_DIR}/src/config.h") TARGET_LINK_LIBRARIES(rspamd-util ${RSPAMD_REQUIRED_LIBRARIES}) TARGET_LINK_LIBRARIES(rspamd-util pcre) TARGET_LINK_LIBRARIES(rspamd-util ucl) |