commit 2f603c1: [Minor] Replace place
Vsevolod Stakhov
vsevolod at rspamd.com
Wed Sep 13 14:28:03 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-09-13 15:21:34 +0100
URL: https://github.com/rspamd/rspamd/commit/2f603c1a3881c1807782d12cbcaff6d4b1bc0b7f (HEAD -> master)
[Minor] Replace place
---
src/CMakeLists.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 92d3ef284..173917703 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -165,7 +165,8 @@ IF(ENABLE_STATIC MATCHES "ON")
"${RAGEL_ragel_content_disposition_OUTPUTS}"
"${RAGEL_ragel_rfc2047_OUTPUTS}"
"${RAGEL_ragel_smtp_date_OUTPUTS}"
- "${RAGEL_ragel_smtp_ip_OUTPUTS}")
+ "${RAGEL_ragel_smtp_ip_OUTPUTS}"
+ ${BACKWARD_ENABLE})
ELSE()
ADD_LIBRARY(rspamd-server SHARED
${RSPAMD_CRYPTOBOX}
@@ -182,7 +183,8 @@ ELSE()
"${RAGEL_ragel_content_disposition_OUTPUTS}"
"${RAGEL_ragel_rfc2047_OUTPUTS}"
"${RAGEL_ragel_smtp_date_OUTPUTS}"
- "${RAGEL_ragel_smtp_ip_OUTPUTS}")
+ "${RAGEL_ragel_smtp_ip_OUTPUTS}"
+ ${BACKWARD_ENABLE})
ENDIF()
FOREACH(_DEP ${LIBSERVER_DEPENDS})
@@ -229,7 +231,7 @@ ENDIF()
TARGET_LINK_LIBRARIES(rspamd-server ${RSPAMD_REQUIRED_LIBRARIES})
ADD_BACKWARD(rspamd-server)
-ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c ${CMAKE_CURRENT_BINARY_DIR}/config.h ${BACKWARD_ENABLE})
+ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CMAKE_CURRENT_BINARY_DIR}/workers.c ${CMAKE_CURRENT_BINARY_DIR}/config.h)
ADD_BACKWARD(rspamd)
SET_TARGET_PROPERTIES(rspamd PROPERTIES LINKER_LANGUAGE CXX)
SET_TARGET_PROPERTIES(rspamd-server PROPERTIES LINKER_LANGUAGE CXX)
More information about the Commits
mailing list