diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:28:10 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:28:10 (GMT) |
commit | 02d6188ab335e6c62b8341b84579d9549d215118 (patch) | |
tree | 5b5232005f67128d60ce7953d66ad836364caf87 /BuildTools | |
parent | 40140fa8bef0706d40f6b61f99c6bf97fcf1a9b2 (diff) | |
download | swift-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')
-rw-r--r-- | BuildTools/SCons/SConstruct | 1 |
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) : |