mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 04:40:07 +01:00
meson: Don't require C++ compiler for build machine on Windows
We only build C++ code for the host. Fixes Meson warning:
meson.build:486: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
This commit is contained in:
parent
3e97e1f16b
commit
af4f149057
1 changed files with 1 additions and 1 deletions
|
|
@ -483,7 +483,7 @@ if host_machine.system() == 'darwin' and not get_option('quartz').disabled()
|
|||
endif
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
add_languages('cpp')
|
||||
add_languages('cpp', native: false)
|
||||
|
||||
add_project_arguments('-DWIN32_LEAN_AND_MEAN', '-DNOMINMAX', language: ['c', 'cpp'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue