+ issue a warning if boost_program_options is not available
This commit is contained in:
parent
5b5eb9d2ee
commit
cca28d702f
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,8 @@ SConscript('src/SConscript')
|
||||||
if 'boost_program_options%s' % env['BOOST_APPEND'] in env['LIBS']:
|
if 'boost_program_options%s' % env['BOOST_APPEND'] in env['LIBS']:
|
||||||
SConscript('utils/shapeindex/SConscript')
|
SConscript('utils/shapeindex/SConscript')
|
||||||
env['LIBS'].remove('boost_program_options%s' % env['BOOST_APPEND'])
|
env['LIBS'].remove('boost_program_options%s' % env['BOOST_APPEND'])
|
||||||
|
else :
|
||||||
|
color_print(1,"WARNING: Cannot find boost_program_options. 'shapeindex' won't be available")
|
||||||
|
|
||||||
# Build the input plug-ins
|
# Build the input plug-ins
|
||||||
if 'postgis' in inputplugins and 'pq' in env['LIBS']:
|
if 'postgis' in inputplugins and 'pq' in env['LIBS']:
|
||||||
|
|
Loading…
Reference in a new issue