From: Tim-Philipp Müller Date: Wed, 8 Jul 2020 10:39:58 +0000 (+0100) Subject: meson: Fix up update-orc-dist target for the case where there are no orc targets X-Git-Tag: 1.19.3~507^2~1623 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c4b3dfc76b73f9fbadda944604dfd3208c96ed3;p=platform%2Fupstream%2Fgstreamer.git meson: Fix up update-orc-dist target for the case where there are no orc targets All those plugins might have been disabled, in which case meson would complain about alias_target() needing at least two arguments. Part-of: --- diff --git a/meson.build b/meson.build index 4c2649a..b0c8a85 100644 --- a/meson.build +++ b/meson.build @@ -465,7 +465,7 @@ if have_orcc ] endforeach - if meson.version().version_compare('>= 0.52') + if meson.version().version_compare('>= 0.52') and orc_update_targets.length() > 0 update_orc_dist_target = alias_target('update-orc-dist', orc_update_targets) endif endif