meson: adjust nlohmann-json dependency
- Simplify the dependency logic in the meson.build.
- Align the meson dep name with consistent practices from other repos.
- Use the non-versioned wrap file.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0e3052763bffe9f98d8ca10c5b523b58e000f636
diff --git a/control/meson.build b/control/meson.build
index 6869043..6aa8143 100644
--- a/control/meson.build
+++ b/control/meson.build
@@ -15,7 +15,7 @@
sources = ['main.cpp']
if conf.has('CONTROL_USE_JSON')
- deps += json_dep
+ deps += nlohmann_json_dep
include_dirs += [
'./json',
'./json/actions',
@@ -100,7 +100,7 @@
'fanctl.cpp',
dependencies: [
cli11_dep,
- json_dep,
+ nlohmann_json_dep,
phosphor_logging_dep,
sdbusplus_dep,
],