aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 48075d8..4eec4e2 100644
--- a/meson.build
+++ b/meson.build
@@ -27,7 +27,7 @@ cc = meson.get_compiler('c')
# Enable C++ support if we're building the examples
if not get_option('examples').disabled() or not get_option('tests').disabled()
- if add_languages(['cpp'], required: false)
+ if add_languages(['cpp'], native: false, required: false)
cpp = meson.get_compiler('cpp')
endif
endif