meson: Provide missing meson dependency for tests
Currently local meson build fails with error:
"""
../health_metric_config.cpp:5:10: fatal error: nlohmann/json.hpp:
No such file or directory
5 | #include <nlohmann/json.hpp>
"""
Add missing nlohmann_json dependency to fix the issue.
Tested:
Local build via "meson setup build && cd build && meson compile" now
finishes without errors.
Change-Id: I1f42d6a9c1ddf838a90f7d8b9d880cc4faf7150c
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
diff --git a/test/meson.build b/test/meson.build
index a93e1f8..81c087c 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -50,7 +50,8 @@
gmock_dep,
phosphor_logging_dep,
phosphor_dbus_interfaces_dep,
- sdbusplus_dep
+ sdbusplus_dep,
+ nlohmann_json_dep
],
include_directories: '../',
)
@@ -70,7 +71,8 @@
gmock_dep,
phosphor_logging_dep,
phosphor_dbus_interfaces_dep,
- sdbusplus_dep
+ sdbusplus_dep,
+ nlohmann_json_dep
],
include_directories: '../',
)