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