diff --git a/meson.build b/meson.build index f3265934469e332fb9d9b18c735270972b1ebd2c..6b8e0b128522c900bde4e79c458ede44ff08d0dc 100644 --- a/meson.build +++ b/meson.build @@ -82,7 +82,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, - required: cxx.get_id() != 'msvc', + required: false, static: get_option('default_library') == 'static') endif