[build] Recognize more MSVC-like compilers as MSVC

clang-cl has its own compiler id but supports MSVC argument conventions.
Use get_argument_syntax to recognize MSVC-like compilers generally.
This commit is contained in:
Tatsuyuki Ishi 2024-01-19 09:59:47 +09:00 committed by Philip Rebohle
parent 89267b62ad
commit ab6bd8b17f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ platform = target_machine.system()
cpp = meson.get_compiler('cpp')
cc = meson.get_compiler('c')
dxvk_is_msvc = cpp.get_id() == 'msvc'
dxvk_is_msvc = cpp.get_argument_syntax() == 'msvc'
compiler_args = [
'-msse',