build: Fix building ges with tools disabled

If you configure with `tools=disabled` then ges_launch is undefined.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3259>
This commit is contained in:
Patrick Griffis 2022-10-24 14:40:55 -05:00 committed by GStreamer Marge Bot
parent 366893e9ac
commit 2265709574

View file

@ -75,7 +75,7 @@ foreach t : ges_tests
endif
endforeach
if gstvalidate_dep.found()
if gstvalidate_dep.found() and not get_option('tools').disabled()
# filename: is .validatetest
scenarios = {
'check_video_track_restriction_scale': false,