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/3274>
This commit is contained in:
Patrick Griffis 2022-10-24 14:40:55 -05:00 committed by Tim-Philipp Müller
parent c560ec47fb
commit fef136b3d0

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,