aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-08 12:40:46 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-08 12:40:46 +0100
commitc2fbb024af44dec78a1f50616746a6e2bc07a1db (patch)
tree8a747fccd0330d07c2319237359b7746c377f5e6 /src/CMakeLists.txt
parent48ebc882e6d5343796e55b1df128cb085ab9f88a (diff)
downloadrspamd-c2fbb024af44dec78a1f50616746a6e2bc07a1db.tar.gz
rspamd-c2fbb024af44dec78a1f50616746a6e2bc07a1db.zip
[Minor] Include config.h to the build target
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 14406825c..e51b1e381 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -228,7 +228,7 @@ ENDIF()
TARGET_LINK_LIBRARIES(rspamd-server ${RSPAMD_REQUIRED_LIBRARIES})
-ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c)
+ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c ${CMAKE_CURRENT_BINARY_DIR}/config.h)
SET_TARGET_PROPERTIES(rspamd PROPERTIES LINKER_LANGUAGE CXX)
SET_TARGET_PROPERTIES(rspamd-server PROPERTIES LINKER_LANGUAGE CXX)
IF(NOT DEBIAN_BUILD)