also check for boost development headers
This commit is contained in:
parent
2457f5f7f4
commit
540d275cd0
1 changed files with 48 additions and 40 deletions
|
@ -1252,6 +1252,14 @@ if not preconfigured:
|
|||
|
||||
conf.FindBoost(BOOST_SEARCH_PREFIXES,thread_flag)
|
||||
|
||||
has_boost_devel = False
|
||||
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
|
||||
|
||||
if has_boost_devel:
|
||||
env['BOOST_LIB_VERSION_FROM_HEADER'] = conf.GetBoostLibVersion()
|
||||
|
||||
# The other required boost headers.
|
||||
|
|
Loading…
Reference in a new issue