aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,