aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-09 23:34:26 +0100
committerDavid Robillard <d@drobilla.net>2021-01-09 23:34:26 +0100
commitfec5f8b73b46fe1d68400ee00e6983393ebd03e7 (patch)
tree815ba392b935cb4052dec82b0ba73e0967838f0f /meson.build
parent2630610bd4a2bab84d6fb89b8f18c87dc9f4c73b (diff)
downloadpugl-fec5f8b73b46fe1d68400ee00e6983393ebd03e7.tar.gz
pugl-fec5f8b73b46fe1d68400ee00e6983393ebd03e7.tar.bz2
pugl-fec5f8b73b46fe1d68400ee00e6983393ebd03e7.zip
Use strict warnings on CI
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index cadbf58..454a194 100644
--- a/meson.build
+++ b/meson.build
@@ -191,7 +191,6 @@ core_args = []
# MacOS
if host_machine.system() == 'darwin'
- add_project_arguments(['-Wno-deprecated-declarations'], language: ['objc'])
cocoa_dep = dependency('Cocoa', required: false, modules: 'foundation')
corevideo_dep = dependency('CoreVideo', required: false)
@@ -200,6 +199,9 @@ if host_machine.system() == 'darwin'
core_deps = [cocoa_dep, corevideo_dep]
extension = '.m'
+ add_project_arguments(['-Wno-deprecated-declarations'], language: ['objc'])
+ add_project_arguments(['-Wno-direct-ivar-access'], language: ['objc'])
+
add_project_arguments(['-DGL_SILENCE_DEPRECATION'],
language: ['c', 'objc'])