meson: fix missing pldm header
Subproject builds fail with the following compile error:
```
c++ @eeprom-device/phosphor-eepromdevice-software-update.p/eeprom_device.cpp.o.rsp
In file included from ../common/include/device.hpp:3,
from ../eeprom-device/eeprom_device.hpp:3,
from ../eeprom-device/eeprom_device.cpp:1:
../common/pldm/package_parser.hpp:5:10: fatal error: libpldm/firmware_update.h: No such file or directory
5 | #include <libpldm/firmware_update.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Fix by adding the appropriate libpldm dependency.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia79fe63c3929a62596ae292c352e488e1100eede
diff --git a/eeprom-device/meson.build b/eeprom-device/meson.build
index a9e5b02..c5e2ba7 100644
--- a/eeprom-device/meson.build
+++ b/eeprom-device/meson.build
@@ -11,7 +11,12 @@
'eeprom_device.cpp',
eeprom_device_version_src,
include_directories: [common_include, eeprom_device_include],
- dependencies: [sdbusplus_dep, phosphor_logging_dep, libgpiod_dep],
+ dependencies: [
+ libgpiod_dep,
+ libpldm_dep,
+ phosphor_logging_dep,
+ sdbusplus_dep,
+ ],
link_with: [software_common_lib, libpldmutil],
install: true,
install_dir: get_option('libexecdir') / 'phosphor-code-mgmt',