aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-05 07:19:10 -0400
committerDavid Robillard <d@drobilla.net>2022-11-05 07:19:10 -0400
commitada619901e0000e850364d68c327ba4629be00d0 (patch)
tree207055c8b623d5ba9f02b53d87d0e691a8b06f3a
parenta809f7ce61e9833c1ee4ec46ca340ed85db15af8 (diff)
downloadpugl-ada619901e0000e850364d68c327ba4629be00d0.tar.gz
pugl-ada619901e0000e850364d68c327ba4629be00d0.tar.bz2
pugl-ada619901e0000e850364d68c327ba4629be00d0.zip
Fix meson warnings on MacOS
-rw-r--r--meson.build2
-rw-r--r--test/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 183f7d7..5d7ae6e 100644
--- a/meson.build
+++ b/meson.build
@@ -34,7 +34,7 @@ endif
# Enable Objective C support if we're building for MacOS
if host_machine.system() == 'darwin'
- add_languages(['objc'])
+ add_languages(['objc'], native: false)
objcc = meson.get_compiler('objc')
endif
diff --git a/test/meson.build b/test/meson.build
index eec5cf4..8b4cc42 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -154,7 +154,7 @@ if vulkan_dep.found()
endif
if host_machine.system() == 'darwin'
- add_languages(['objcpp'])
+ add_languages(['objcpp'], native: false)
objcpp = meson.get_compiler('objcpp')