commit eaac9aa: [Minor] Fix FreeBSD release build with lld/libc++

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jun 23 13:07:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-06-23 14:01:36 +0100
URL: https://github.com/rspamd/rspamd/commit/eaac9aab159e4832bd34ab1ed24ff39a214925fb

[Minor] Fix FreeBSD release build with lld/libc++
Issue: #3778

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b46de3f4d..ac806f936 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -255,6 +255,8 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_C_OPT_FLAGS} ${CMAKE_CXX_FLAGS}")
 
 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
 ADD_DEFINITIONS(-DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS)
+# Workaround for https://github.com/onqtam/doctest/issues/356
+ADD_DEFINITIONS(-DDOCTEST_CONFIG_USE_STD_HEADERS)
 ADD_DEFINITIONS(-DU_CHARSET_IS_UTF8)
 
 # Check platform specific includes


More information about the Commits mailing list