Files
hexagonrpc/tools/meson.build
Richard Acayan 23a69640bf tools: make json-c optional
This shouldn't be a requirement to compile anything else. Stop requiring
it for building anything, and assume the user just wants to compile the
main project.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
2025-08-19 22:30:25 -04:00

9 lines
178 B
Meson

json_c = dependency('json-c', required : false)
if json_c.found()
executable('sscregistrygen',
'sscregistrygen.c',
c_args : cflags,
dependencies : [json_c])
endif