diff options
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build index 1186e81..3732f8c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -23,13 +23,16 @@ mi_sources = [ 'nvme/mi-mctp.c', ] -if conf.get('CONFIG_JSONC') +if json_c_dep.found() sources += 'nvme/json.c' +else + sources += 'nvme/no-json.c' endif deps = [ json_c_dep, openssl_dep, + keyutils_dep, ] mi_deps = [ |