json-c: add support for both 0.12.1 and 0.13

This commit is contained in:
Dominique Martinet 2018-01-04 23:26:51 +01:00
parent 7dad5cd18c
commit 27034ba7f6
2 changed files with 5 additions and 1 deletions

View file

@ -18,7 +18,7 @@ datadir = get_option('datadir')
sysconfdir = get_option('sysconfdir')
prefix = get_option('prefix')
jsonc = dependency('json-c', version: '>=0.13')
jsonc = dependency('json-c', version: '>=0.12.1')
pcre = dependency('libpcre')
wlroots = dependency('wlroots')
wayland_server = dependency('wayland-server')