diff --git a/subprojects/gst-examples/meson_options.txt b/subprojects/gst-examples/meson_options.txt new file mode 100644 index 0000000000..de5d74124e --- /dev/null +++ b/subprojects/gst-examples/meson_options.txt @@ -0,0 +1 @@ +option('tests', type : 'feature', value : 'auto', yield : true, description: 'Build tests') diff --git a/subprojects/gst-examples/webrtc/meson.build b/subprojects/gst-examples/webrtc/meson.build index e944f2a652..b5f9d89ace 100644 --- a/subprojects/gst-examples/webrtc/meson.build +++ b/subprojects/gst-examples/webrtc/meson.build @@ -27,4 +27,6 @@ subdir('signalling') subdir('sendonly') subdir('sendrecv') -subdir('check') +if not get_option('tests').disabled() + subdir('check') +endif