From 80976dea2c5f90081fa37db9316fe2594814efd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 8 Jul 2020 11:28:19 +0100 Subject: [PATCH] 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: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b53a884c7c..aaf19f4126 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