skip boost check when cross compiling [skip ci]
This commit is contained in:
parent
2a46e4517a
commit
e5fafd31d1
1 changed files with 7 additions and 6 deletions
|
@ -1451,6 +1451,7 @@ if not preconfigured:
|
||||||
# just turn it off like this, but seems the only available work-
|
# just turn it off like this, but seems the only available work-
|
||||||
# around. See https://svn.boost.org/trac/boost/ticket/6779 for more
|
# around. See https://svn.boost.org/trac/boost/ticket/6779 for more
|
||||||
# details.
|
# details.
|
||||||
|
if not env['HOST']:
|
||||||
boost_version = [int(x) for x in env.get('BOOST_LIB_VERSION_FROM_HEADER').split('_')]
|
boost_version = [int(x) for x in env.get('BOOST_LIB_VERSION_FROM_HEADER').split('_')]
|
||||||
if not conf.CheckBoostScopedEnum():
|
if not conf.CheckBoostScopedEnum():
|
||||||
if boost_version < [1, 51]:
|
if boost_version < [1, 51]:
|
||||||
|
|
Loading…
Reference in a new issue