summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-01-14 17:38:38 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-01-15 14:32:16 (GMT)
commitc15d5ef1eed6d373dab6438fdcb2480d3111e52c (patch)
tree76f50b93b56e6f493e166a1b5bf371babbeaa30a /BuildTools/SCons
parentf690e1de6f97305c89cf90afb4305487a9c6fc2e (diff)
downloadswift-c15d5ef1eed6d373dab6438fdcb2480d3111e52c.zip
swift-c15d5ef1eed6d373dab6438fdcb2480d3111e52c.tar.bz2
Silence Boost Signals deprecation warning if using system Boost
Test-Information: Tested on Debian 8 with system Boost packages. Change-Id: Ice6a98dc8ba3f09502d79e704c3e1b744d829d5d
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 81b78a7..16f1953 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -191,6 +191,7 @@ for (lib, header) in boostLibs :
break
libNames.append(libName)
if allLibsPresent :
+ boost_flags["CPPDEFINES"] = ["BOOST_SIGNALS_NO_DEPRECATION_WARNING"]
env["BOOST_FLAGS"] = boost_flags
if env["PLATFORM"] != "win32" :
env["BOOST_FLAGS"].update({"LIBS": libNames})