meson: fix build failure if orc is enabled but none of its users are
authorPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 21 Aug 2020 10:12:48 +0000 (12:12 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 24 Aug 2020 21:27:01 +0000 (21:27 +0000)
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/778

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/704>

meson.build

index 467339a..5823b61 100644 (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 = []