scons: assume boost headers are found unless explicitly not
This commit is contained in:
parent
19ce56b051
commit
c00a4e6971
1 changed files with 2 additions and 3 deletions
|
@ -1252,12 +1252,11 @@ if not preconfigured:
|
||||||
|
|
||||||
conf.FindBoost(BOOST_SEARCH_PREFIXES,thread_flag)
|
conf.FindBoost(BOOST_SEARCH_PREFIXES,thread_flag)
|
||||||
|
|
||||||
has_boost_devel = False
|
has_boost_devel = True
|
||||||
if not env['HOST']:
|
if not env['HOST']:
|
||||||
if not conf.CheckHeader(header='boost/version.hpp',language='C++'):
|
if not conf.CheckHeader(header='boost/version.hpp',language='C++'):
|
||||||
env['MISSING_DEPS'].append('boost development headers')
|
env['MISSING_DEPS'].append('boost development headers')
|
||||||
else:
|
has_boost_devel = False
|
||||||
has_boost_devel = True
|
|
||||||
|
|
||||||
if has_boost_devel:
|
if has_boost_devel:
|
||||||
env['BOOST_LIB_VERSION_FROM_HEADER'] = conf.GetBoostLibVersion()
|
env['BOOST_LIB_VERSION_FROM_HEADER'] = conf.GetBoostLibVersion()
|
||||||
|
|
Loading…
Reference in a new issue