commit d09fe5e: [Minor] Another stuff missing
Vsevolod Stakhov
vsevolod at rspamd.com
Wed Sep 13 14:14:03 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-09-13 15:09:59 +0100
URL: https://github.com/rspamd/rspamd/commit/d09fe5e8a238eeb6c99ce0e27b3f62cd08fd483f (HEAD -> master)
[Minor] Another stuff missing
---
CMakeLists.txt | 5 +++++
src/CMakeLists.txt | 1 +
src/rspamadm/CMakeLists.txt | 1 +
3 files changed, 7 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fec5ca687..af30d351b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -626,6 +626,11 @@ ADD_SUBDIRECTORY(contrib/kann)
ADD_SUBDIRECTORY(contrib/fastutf8)
ADD_SUBDIRECTORY(contrib/google-ced)
ADD_SUBDIRECTORY(contrib/backward-cpp)
+message(STATUS "Backward-cpp config: ${BACKWARD_DEFINITIONS}")
+if (BACKWARD_LIBRARIES)
+ message(STATUS "Backward-cpp libraries: ${BACKWARD_LIBRARIES}")
+endif()
+
IF (SYSTEM_FMT MATCHES "OFF")
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/contrib/fmt/include")
ELSE ()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f4977fb25..92d3ef284 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -227,6 +227,7 @@ IF(WITH_BLAS)
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_BACKWARD(rspamd)
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt
index 125e04804..5e88ec8dd 100644
--- a/src/rspamadm/CMakeLists.txt
+++ b/src/rspamadm/CMakeLists.txt
@@ -27,4 +27,5 @@ IF (NOT DEBIAN_BUILD)
ENDIF (NOT DEBIAN_BUILD)
SET_TARGET_PROPERTIES(rspamadm PROPERTIES LINKER_LANGUAGE CXX)
+ADD_BACKWARD(rspamadm)
INSTALL(TARGETS rspamadm RUNTIME DESTINATION bin)
More information about the Commits
mailing list