From b983769a9d1385d1c2938a275f0af421ca2c3f01 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 14 Sep 2019 14:25:33 +0200 Subject: [PATCH] Core/Build: Fix build with boost 1.71 (cherry picked from commit 9f7cc32c6ecd83acce1e8817a9ad3f060121831d) --- dep/boost/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index 58f93b2a2cc..abe5b53735f 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -82,6 +82,7 @@ target_compile_definitions(boost # Due to MSVC linking error boost::none" already defined in scripts_... # May be removed when the requirement is raised to boost 1.61 on windows. -DBOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE + -DBOOST_SERIALIZATION_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBOOST_ASIO_NO_DEPRECATED)