summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/meson.build b/examples/meson.build
index 2a0e303..7d75128 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,6 +1,6 @@
if not meson.is_cross_build()
- if not have_tools
+ if opt_tools.disabled() and opt_examples.enabled()
error('Need to build tools (orcc) to build examples.')
endif