diff options
author | David Robillard <d@drobilla.net> | 2022-06-03 15:28:53 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-06-03 15:28:53 -0400 |
commit | 677b18968410ce9bf2cdd117d3fd9cd7d1336d30 (patch) | |
tree | c61b0cdce2c7546a18c690d7560a69cab7d33b16 | |
parent | 2e0fb50d3fb5008e6cabcef28e14177b64e678bd (diff) | |
download | pugl-677b18968410ce9bf2cdd117d3fd9cd7d1336d30.tar.gz pugl-677b18968410ce9bf2cdd117d3fd9cd7d1336d30.tar.bz2 pugl-677b18968410ce9bf2cdd117d3fd9cd7d1336d30.zip |
Fix Cairo warnings on MacOS
-rw-r--r-- | examples/pugl_cairo_demo.app/MacOS/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/pugl_cairo_demo.app/MacOS/meson.build b/examples/pugl_cairo_demo.app/MacOS/meson.build index d50da8a..8bfee99 100644 --- a/examples/pugl_cairo_demo.app/MacOS/meson.build +++ b/examples/pugl_cairo_demo.app/MacOS/meson.build @@ -2,6 +2,6 @@ executable( 'pugl_cairo_demo', ['../../pugl_cairo_demo.c'], include_directories: include_directories('../../../../include', '../../..'), - c_args: example_defines + example_c_args, + c_args: example_defines + example_c_args + cairo_args, cpp_args: example_defines + example_cpp_args, dependencies: [pugl_dep, cairo_backend_dep]) diff --git a/meson.build b/meson.build index 9d6489b..ed78497 100644 --- a/meson.build +++ b/meson.build @@ -247,6 +247,7 @@ if cairo_dep.found() version: meson.project_version(), include_directories: includes, c_args: library_args + cairo_args, + objc_args: library_args + cairo_args, dependencies: [pugl_dep, cairo_dep], gnu_symbol_visibility: 'hidden', install: true, |