diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2024-01-19 03:59:47 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2024-01-23 17:45:42 +0300 |
commit | ab6bd8b17f8c7a64d2a799d325dbf873fbb9378c (patch) | |
tree | 13a2664c6f21acc4602814910f9c40d0d6e0a30f | |
parent | 89267b62ade1eb6f6425eb1b626746fb64df3cb4 (diff) |
[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.
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index b571729d..abe9a1e0 100644 --- a/meson.build +++ b/meson.build @@ -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', |