From c15d5ef1eed6d373dab6438fdcb2480d3111e52c Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 14 Jan 2016 18:38:38 +0100
Subject: Silence Boost Signals deprecation warning if using system Boost

Test-Information:

Tested on Debian 8 with system Boost packages.

Change-Id: Ice6a98dc8ba3f09502d79e704c3e1b744d829d5d

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})
-- 
cgit v0.10.2-6-g49f6