validate: Allow using json-glib as a subproject

This commit is contained in:
Thibault Saunier 2016-11-02 08:28:27 -03:00
parent 77a65b6c72
commit febbff72be
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,8 @@ gio_dep = dependency('gio-2.0', version: glib_req)
gmodule_dep = dependency('gmodule-2.0', version: glib_req)
gtk_dep = dependency('gtk+-3.0', required: false)
mathlib = cc.find_library('m', required : false)
json_dep = dependency('json-glib-1.0',
fallback : ['json-glib', 'json_glib_dep'])
gst_c_args = ['-DHAVE_CONFIG_H', '-DGST_USE_UNSTABLE_API']

View file

@ -1,6 +1,5 @@
inc_dirs = include_directories('.')
json_dep = dependency('json-glib-1.0')
cdata = configuration_data()
unwind_dep = dependency('libunwind', required : false)