build: fix nlohmann-json dependency
Previously the json dependency was only added when `json-control` or
`json-config` options were enabled, but there is now base code that
utilizes nlohmann-json directly (such as logger.hpp). Add the
dependency at the top level.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia92e54f9bd4812af0977bcfa5479f093f7bdbc67
diff --git a/presence/meson.build b/presence/meson.build
index d3028d6..7237565 100644
--- a/presence/meson.build
+++ b/presence/meson.build
@@ -19,11 +19,12 @@
]
deps=[
+ json_dep,
libevdev_dep,
phosphor_dbus_interfaces_dep,
phosphor_logging_dep,
sdbusplus_dep,
- sdeventplus_dep
+ sdeventplus_dep,
]
# Only needed for YAML config