summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-14 18:28:10 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-14 18:28:10 (GMT)
commit02d6188ab335e6c62b8341b84579d9549d215118 (patch)
tree5b5232005f67128d60ce7953d66ad836364caf87 /BuildTools/SCons/SConstruct
parent40140fa8bef0706d40f6b61f99c6bf97fcf1a9b2 (diff)
downloadswift-contrib-02d6188ab335e6c62b8341b84579d9549d215118.zip
swift-contrib-02d6188ab335e6c62b8341b84579d9549d215118.tar.bz2
Force the use of Boost Filesystem V2.
Resolves: #783 Release-Notes: Fixed compilation on systems with a recent version of Boost installed.
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index cb248a5..f1f437a 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -352,6 +352,7 @@ conf.Finish()
# Boost
boost_conf_env = conf_env.Clone()
boost_flags = {}
+boost_flags["CPPDEFINES"] = [("BOOST_FILESYSTEM_VERSION", "2")]
if env.get("boost_libdir", None) :
boost_flags["LIBPATH"] = [env["boost_libdir"]]
if env.get("boost_includedir", None) :