]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Include config.h to the build target
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 8 Oct 2022 11:40:46 +0000 (12:40 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 8 Oct 2022 11:40:46 +0000 (12:40 +0100)
src/CMakeLists.txt

index 14406825c87748cab68868eb1d7c5b8bd88a634d..e51b1e381e74980878b59635a871efee90edd060 100644 (file)
@@ -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)