]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another stuff missing
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 13 Sep 2023 14:09:59 +0000 (15:09 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 13 Sep 2023 14:09:59 +0000 (15:09 +0100)
CMakeLists.txt
src/CMakeLists.txt
src/rspamadm/CMakeLists.txt

index fec5ca6879975f9d74aa87d415311ae5aaef40ed..af30d351b2954458a9603f33416753708d573b61 100644 (file)
@@ -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 ()
index f4977fb2580c1a13869131a22311501e1b6ee93c..92d3ef284834eda017da2defa21791bd9016ccf3 100644 (file)
@@ -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)
index 125e04804e186286574e362604ca823a35fd5626..5e88ec8dd6d785a0d47efcc40e4a294a19973cdc 100644 (file)
@@ -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)