summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-10-06 13:04:01 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-10-06 13:04:01 +0100
commit195fffb0723ff13fb053de196b44e41acbbc1376 (patch)
tree1286e37fb435617b57bcf2c27cda40e062b5bf91 /examples
parent69ded38a1c954d0604e36992df392c4c32d7603a (diff)
downloadorc-195fffb0723ff13fb053de196b44e41acbbc1376.tar.gz
meson: add option to disable orc-test library
https://bugzilla.gnome.org/show_bug.cgi?id=736785
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