From: Vsevolod Stakhov Date: Mon, 17 May 2021 15:33:51 +0000 (+0100) Subject: [Minor] Always use UTF8 as the system encoding (for libicu) X-Git-Tag: 3.0~399 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1d1010aed834b76c68419456ee7484fbe35a3f8;p=thirdparty%2Frspamd.git [Minor] Always use UTF8 as the system encoding (for libicu) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f12ae4377..9706637e0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_C_OPT_FLAGS} ${CMAKE_CXX_FLAGS}") ADD_DEFINITIONS(-DHAVE_CONFIG_H) ADD_DEFINITIONS(-DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS) +ADD_DEFINITIONS(-DU_CHARSET_IS_UTF8) # Check platform specific includes CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H)