mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-15 16:08:05 +02:00
Meson: Fix warnings on clang-cl
Treat CLangCL as MSVC
This commit is contained in:
parent
c988a8e36e
commit
af2dbc14b7
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ if cc.get_id() != 'msvc'
|
|||
conf.set('WARN_UNUSED_RESULT', warn_unused_result)
|
||||
endif
|
||||
|
||||
if cc.get_id() == 'msvc'
|
||||
if cc.get_argument_syntax() == 'msvc'
|
||||
# Basic usage in the cairo type system that causes spammy and useless warnings
|
||||
add_project_arguments('/wd4244', '/wd4146',
|
||||
# Don't warn about double -> float truncation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue