summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2020-07-08 11:28:19 +0100
committerTim-Philipp Müller <tim@centricular.com>2020-07-08 11:29:40 +0100
commit80976dea2c5f90081fa37db9316fe2594814efd9 (patch)
treefd188997fb1c1ef38437385d94e74202c10776e0
parent02995c84172f68ec8c700cf4306302cedfa2ffb4 (diff)
Fix up update-orc-dist target for the case where there are no orc targets
See https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/168#note_561914 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/173>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b53a884..aaf19f4 100644
--- a/meson.build
+++ b/meson.build
@@ -305,6 +305,6 @@ run_target('git-update', command : [update])
run_target('update', command : [update,
'--builddir=@0@'.format(meson.current_build_dir())])
-if orc_subproject.found()
+if orc_subproject.found() and orc_update_targets.length() > 0
alias_target('update-orc-dist', orc_update_targets)
endif