From ae84dd2a6507169ec8b92855defd8175ae3daa3f 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 (cherry picked from commit 5b4eefb6d8231db95c4ff9cb4090a27683ff3a48) --- 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 9d78248d66b..1637bfa46bb 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -81,7 +81,8 @@ target_compile_definitions(boost -DBOOST_SERIALIZATION_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBOOST_ASIO_NO_DEPRECATED - -DBOOST_BIND_NO_PLACEHOLDERS) + -DBOOST_BIND_NO_PLACEHOLDERS + -DBOOST_SYSTEM_USE_UTF8) if (NOT boost_filesystem_copy_links_without_NO_SCOPED_ENUM) target_compile_definitions(boost