diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-01-12 18:04:58 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-11-21 15:03:48 +0100 |
commit | ae84dd2a6507169ec8b92855defd8175ae3daa3f (patch) | |
tree | c03dfd2fbc1fd70cbd427a9070fe6a6c9b6f5e06 | |
parent | a9018d1609d9baf7ddf1d10a224523b4771ec127 (diff) |
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)
-rw-r--r-- | dep/boost/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |