[SCons] Only copy Boost libraries when they are being used
This commit is contained in:
parent
e7754fbcf2
commit
dcb579df98
1 changed files with 1 additions and 1 deletions
|
|
@ -1246,7 +1246,7 @@ if addInstallActions:
|
|||
'interfaces/python/ctml_writer.py')
|
||||
|
||||
# Copy external libaries for Windows installations
|
||||
if env['CC'] == 'cl':
|
||||
if env['CC'] == 'cl' and env['use_boost_libs']:
|
||||
boost_suffix = '-vc%s-mt-%s.lib' % (env['MSVC_VERSION'].replace('.',''),
|
||||
env['BOOST_LIB_VERSION'])
|
||||
install('$inst_libdir', pjoin('$boost_lib_dir', 'libboost_date_time' + boost_suffix))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue