diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-17 16:33:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-05-17 16:33:51 +0100 |
commit | e1d1010aed834b76c68419456ee7484fbe35a3f8 (patch) | |
tree | 3989abd64322faae7eea9adbac7299eda1c0fd37 /CMakeLists.txt | |
parent | 569608dd20d1790a48c4bff615fdc2ccccb2c111 (diff) | |
download | rspamd-e1d1010aed834b76c68419456ee7484fbe35a3f8.tar.gz rspamd-e1d1010aed834b76c68419456ee7484fbe35a3f8.zip |
[Minor] Always use UTF8 as the system encoding (for libicu)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |