From e1d1010aed834b76c68419456ee7484fbe35a3f8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 17 May 2021 16:33:51 +0100 Subject: [Minor] Always use UTF8 as the system encoding (for libicu) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f12ae437..9706637e0 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) -- cgit v1.2.3