meson: fix build failure if orc is enabled but none of its users are

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/778

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/704>
This commit is contained in:
Philipp Zabel 2020-08-21 12:12:48 +02:00 committed by GStreamer Merge Bot
parent 3211c65a5e
commit 15dfc3b171

View file

@ -438,7 +438,7 @@ subdir('ext')
subdir('tests')
subdir('docs')
if have_orcc
if have_orcc and orc_targets.length() > 0
update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
orc_update_targets = []