1
0
Fork 0

meson: search for 'system' module with system boost

System was made header-only by 1.74, so we can't check for it in the submodule, but when linking with older system boosts we need to make sure it gets linked in
This commit is contained in:
Ryan Lucia 2020-11-15 12:43:26 -05:00
parent dc3aaa5df0
commit daa4cc8bbc
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ deps += dependency('libass', version: '>=0.9.7',
boost_modules = ['chrono', 'filesystem', 'thread', 'locale', 'regex']
if not get_option('local_boost')
boost_dep = dependency('boost', version: '>=1.50.0',
modules: boost_modules,
modules: boost_modules + ['system'],
required: false,
static: get_option('default_library') == 'static')
endif