diff --git a/meson.build b/meson.build index f98855d6d6e4df43c879cbb392692af8054016c0..9137729b204203113a23984c0e1c7957850fc27a 100644 --- a/meson.build +++ b/meson.build @@ -9,6 +9,11 @@ default_options : 'cpp_std=c++17' cmake = import('cmake') +compiler = meson.get_compiler('cpp') +if compiler.get_id() == 'msvc' + add_project_arguments('/bigobj', language: 'cpp') +endif + coeurl_dep = dependency('coeurl', required: true) thread_dep = dependency('threads', required: true) openssl_dep = dependency('openssl', version: '>=1.1', required: true)