Commit cbd02b95 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜

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.
parent 30a3fe53
......@@ -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
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment