mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-22 14:53:44 +02:00
Suppress unknown-attribute warnings on Windows
This commit is contained in:
parent
1fd2e65cf4
commit
4df82adf3a
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ global_args += ['-Wno-non-virtual-dtor', '-Wno-reorder', '-Wno-uninitialized', '
|
||||||
if compilers['objc'].get_id() == 'clang'
|
if compilers['objc'].get_id() == 'clang'
|
||||||
global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor']
|
global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor']
|
||||||
endif
|
endif
|
||||||
|
if host_system == 'windows'
|
||||||
|
global_args += '-Wno-unknown-attributes'
|
||||||
|
endif
|
||||||
|
|
||||||
# Decide whether or not to use MiniFFI
|
# Decide whether or not to use MiniFFI
|
||||||
miniffi = get_option('use_miniffi')
|
miniffi = get_option('use_miniffi')
|
||||||
|
|
Loading…
Add table
Reference in a new issue