]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix FreeBSD release build with lld/libc++
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 23 Jun 2021 13:01:36 +0000 (14:01 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 23 Jun 2021 13:01:36 +0000 (14:01 +0100)
Issue: #3778

CMakeLists.txt

index b46de3f4daf4109dcd94d1480ebe812469b66a6a..ac806f936a0ca2e8bf5d4652f938ab75071af48d 100644 (file)
@@ -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