From c00a4e6971d5a7e4549de76c4fe151141b79ee75 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 3 Jun 2013 12:22:29 -0700 Subject: [PATCH] scons: assume boost headers are found unless explicitly not --- SConstruct | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 4f63e49c2..cc0fc8064 100644 --- a/SConstruct +++ b/SConstruct @@ -1252,12 +1252,11 @@ if not preconfigured: conf.FindBoost(BOOST_SEARCH_PREFIXES,thread_flag) - has_boost_devel = False + has_boost_devel = True if not env['HOST']: if not conf.CheckHeader(header='boost/version.hpp',language='C++'): env['MISSING_DEPS'].append('boost development headers') - else: - has_boost_devel = True + has_boost_devel = False if has_boost_devel: env['BOOST_LIB_VERSION_FROM_HEADER'] = conf.GetBoostLibVersion()