scons: make sure to sort libs and includes paths after adding calling FindBoost and doing boost checks
This commit is contained in:
parent
a8423428e8
commit
0eb66e8340
1 changed files with 4 additions and 0 deletions
|
@ -881,6 +881,10 @@ if not preconfigured:
|
||||||
if env['THREADING'] == 'multi':
|
if env['THREADING'] == 'multi':
|
||||||
BOOST_LIBSHEADERS.append(['thread', 'boost/thread/mutex.hpp', True])
|
BOOST_LIBSHEADERS.append(['thread', 'boost/thread/mutex.hpp', True])
|
||||||
|
|
||||||
|
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests
|
||||||
|
if env['PRIORITIZE_LINKING']:
|
||||||
|
conf.prioritize_paths()
|
||||||
|
|
||||||
# if the user is not setting custom boost configuration
|
# if the user is not setting custom boost configuration
|
||||||
# enforce boost version greater than or equal to BOOST_MIN_VERSION
|
# enforce boost version greater than or equal to BOOST_MIN_VERSION
|
||||||
if not conf.CheckBoost(BOOST_MIN_VERSION):
|
if not conf.CheckBoost(BOOST_MIN_VERSION):
|
||||||
|
|
Loading…
Reference in a new issue