summaryrefslogtreecommitdiffstats
path: root/util/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:35 +0000
commitf42531334c05b7f49ae43c0a27e347a487fb2667 (patch)
treee7a40dd5265005869a4e85eb1e96fdc588b42ef0 /util/meson.build
parentAdding upstream version 2.3. (diff)
downloadnvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.tar.xz
nvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.zip
Adding upstream version 2.4.upstream/2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'util/meson.build')
-rw-r--r--util/meson.build10
1 files changed, 8 insertions, 2 deletions
diff --git a/util/meson.build b/util/meson.build
index 349c70c..f149d03 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -2,9 +2,15 @@
sources += [
'util/argconfig.c',
+ 'util/base64.c',
'util/cleanup.c',
- 'util/json.c',
+ 'util/crc32.c',
'util/suffix.c',
- 'util/base64.c',
'util/types.c',
]
+
+if json_c_dep.found()
+ sources += [
+ 'util/json.c',
+ ]
+endif