From ab6bd8b17f8c7a64d2a799d325dbf873fbb9378c Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Fri, 19 Jan 2024 09:59:47 +0900 Subject: [PATCH] [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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',