Skip to content

Commit

Permalink
[CI] Use the static version of the run-time library for MSVC builds
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterSnowfall committed Nov 10, 2024
1 parent d13375f commit a1de5af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -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()
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit a1de5af

Please sign in to comment.