commit c2fbb02: [Minor] Include config.h to the build target
Vsevolod Stakhov
vsevolod at rspamd.com
Sat Oct 8 14:49:03 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-10-08 12:40:46 +0100
URL: https://github.com/rspamd/rspamd/commit/c2fbb024af44dec78a1f50616746a6e2bc07a1db
[Minor] Include config.h to the build target
---
src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the Commits
mailing list