Skip to content

Commit c139cec

Browse files
committed
Make JSON-C mandatory during built
We already have a JSON-C subproject, so we can make it mandatory during build anyway. Signed-off-by: Hannes Reinecke <[email protected]>
1 parent c06fcce commit c139cec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ libuuid_dep = dependency('uuid', required: true)
4040
conf.set('CONFIG_LIBUUID', libuuid_dep.found(), description: 'Is libuuid required?')
4141

4242
# Check for json-c availability
43-
json_c_dep = dependency('json-c', version: '>=0.13', fallback : ['json-c', 'json_c_dep'])
43+
json_c_dep = dependency('json-c',
44+
version: '>=0.13',
45+
required: true,
46+
fallback : ['json-c', 'json_c_dep'])
4447
conf.set('CONFIG_JSONC', json_c_dep.found(), description: 'Is json-c required?')
4548

4649
# Check for OpenSSL availability

0 commit comments

Comments
 (0)