diff --git a/meson.build b/meson.build index a9d8efb70df8..ecf7e4da0960 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('dxvk', ['c', 'cpp'], version : 'v2.4.1', meson_version : '>= 0.58', default_options : [ 'cpp_std=c++17', 'warning_level=2' ]) +project('dxvk', ['c', 'cpp'], version : 'v2.4.1', meson_version : '>= 0.58', default_options : [ 'cpp_std=c++17', 'b_vscrt=static_from_buildtype', 'warning_level=2' ]) pkg = import('pkgconfig') cpu_family = target_machine.cpu_family() @@ -90,8 +90,8 @@ if platform == 'windows' # setup file alignment + enable PDB output for MSVC builds # PDBs are useful for Windows consumers of DXVK compiler_args += [ - '/Z7' - ] + '/Z7' + ] link_args += [ '/FILEALIGN:4096', '/DEBUG:FULL'