From 5b4eefb6d8231db95c4ff9cb4090a27683ff3a48 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 12 Jan 2019 18:04:58 +0100 Subject: [PATCH] Buildsystem: Configure boost to return error messages encoded using utf8 instead of whatever current system code page is on windows --- dep/boost/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index 57e9d0c4f6..4a2332c2c1 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -77,7 +77,8 @@ target_compile_definitions(boost -DBOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE -DBOOST_CHRONO_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE - -DBOOST_ASIO_NO_DEPRECATED) + -DBOOST_ASIO_NO_DEPRECATED + -DBOOST_SYSTEM_USE_UTF8) if (NOT boost_filesystem_copy_links_without_NO_SCOPED_ENUM) target_compile_definitions(boost