From 2d8c587b2418df54a67c05f50d4ac844951ece8d Mon Sep 17 00:00:00 2001 From: Chris Wiggins Date: Fri, 25 Mar 2022 15:00:31 +1300 Subject: [PATCH] Only require gstreamer-check dependency when building tests --- meson.build | 1 - tests/check/meson.build | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 003cea5..ad9b945 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,6 @@ gst_interpipes_version_is_dev = gst_interpipes_version_minor % 2 == 1 and gst_in # Find external dependencies gst_app_dep = dependency('gstreamer-app-1.0', version : '>=1.0.5') -gst_check_dep = dependency('gstreamer-check-1.0', version : '>=1.0.5') # Define compiler args and include directories gst_c_args = ['-DHAVE_CONFIG_H'] diff --git a/tests/check/meson.build b/tests/check/meson.build index 57962cc..01c5ec6 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -21,6 +21,7 @@ test_defines = [ '-DTESTFILE="' + meson.current_source_dir() + '/meson.build"', ] +gst_check_dep = dependency('gstreamer-check-1.0', version : '>=1.0.5') # Define test dependencies test_deps=[gst_app_dep, gst_check_dep, interpipes_dep]