mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
meson: Always use a dependency object for dependencies
Fixes a configure error with gst-build: subprojects/gst-plugins-base/meson.build:235:2: ERROR: Fetched variable 'gst_check_dep' in the subproject 'gstreamer' is not a dependency object.
This commit is contained in:
parent
30a3fe53fa
commit
cbd02b9584
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ subdir('net')
|
|||
subdir('helpers')
|
||||
|
||||
if get_option('check').disabled()
|
||||
gst_check_dep = disabler() # KISS for now
|
||||
gst_check_dep = dependency('', required : false)
|
||||
else
|
||||
subdir('check')
|
||||
endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
if not get_option('benchmarks').disabled()
|
||||
subdir('benchmarks')
|
||||
endif
|
||||
if not get_option('tests').disabled()
|
||||
if not get_option('tests').disabled() and gst_check_dep.found()
|
||||
subdir('check')
|
||||
endif
|
||||
if not get_option('examples').disabled()
|
||||
|
|
Loading…
Reference in a new issue