blob: ece5267bb3beb2e72e4ffa3170239481e36f4c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Source: written by Gluzskiy Alexandr <sss@sss.chaoslab.ru>
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
|