meson: add missing nlohmann dependencies to tests
Without it there are build failures because the include search path is
wrong in subproject mode.
Change-Id: I49ee9aab900a41ae91dccc43eccc68321f9d973a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/test/meson.build b/common/test/meson.build
index 4c909c0..ad5700f 100644
--- a/common/test/meson.build
+++ b/common/test/meson.build
@@ -15,6 +15,7 @@
common_test_src,
gtest,
libpldm_dep,
+ nlohmann_json,
phosphor_dbus_interfaces,
sdbusplus]),
workdir: meson.current_source_dir())
diff --git a/host-bmc/test/meson.build b/host-bmc/test/meson.build
index c7f0532..0bb3b8b 100644
--- a/host-bmc/test/meson.build
+++ b/host-bmc/test/meson.build
@@ -20,6 +20,7 @@
host_bmc_test_src,
libpldm_dep,
libpldmutils,
+ nlohmann_json,
phosphor_dbus_interfaces,
sdbusplus,
sdeventplus]),
diff --git a/requester/test/meson.build b/requester/test/meson.build
index 1f5fe17..74caa3e 100644
--- a/requester/test/meson.build
+++ b/requester/test/meson.build
@@ -17,6 +17,7 @@
gtest,
gmock,
libpldm_dep,
+ nlohmann_json,
phosphor_dbus_interfaces,
sdbusplus,
sdeventplus,
diff --git a/test/meson.build b/test/meson.build
index 438ba19..aee5f7b 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -14,6 +14,7 @@
build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
dependencies: [
libpldm_dep,
+ nlohmann_json,
gtest,
test_src]),
workdir: meson.current_source_dir())