aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-03 15:28:53 -0400
committerDavid Robillard <d@drobilla.net>2022-06-03 15:28:53 -0400
commit677b18968410ce9bf2cdd117d3fd9cd7d1336d30 (patch)
treec61b0cdce2c7546a18c690d7560a69cab7d33b16
parent2e0fb50d3fb5008e6cabcef28e14177b64e678bd (diff)
downloadpugl-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.build2
-rw-r--r--meson.build1
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,