Source: written by Gluzskiy Alexandr Reason: boost detection bug workaround Upstream: not submited, feel free to do it diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 6d63d5bcf..a2ad4fd7a 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -242,7 +242,7 @@ elif not env.get("boost_bundled_enable", True) : Exit(1) else : env["BOOST_BUNDLED"] = True -boost_version = GetVersion(conf, "BOOST_VERSION", "boost/version.hpp") +boost_version = 106500 if boost_version == 106400 : #Version 1.64 has some issues with the serialization of boost::optional, see https://svn.boost.org/trac10/ticket/13050 env["BOOST_1_64_DETECTED"] = True