Skip to content

Commit

Permalink
[Minor] Replace place
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Sep 13, 2023
1 parent d09fe5e commit 2f603c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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})
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2f603c1

Please sign in to comment.