From: Vsevolod Stakhov Date: Wed, 23 Jun 2021 13:01:36 +0000 (+0100) Subject: [Minor] Fix FreeBSD release build with lld/libc++ X-Git-Tag: 3.0~248 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eaac9aab159e4832bd34ab1ed24ff39a214925fb;p=rspamd.git [Minor] Fix FreeBSD release build with lld/libc++ Issue: #3778 --- 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