meson: Cleanup library linking
Change-Id: Ie1fa47ec3c6f2d2a88f8487f3a533c5ebd801612
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/meson.build b/test/meson.build
index cbe1f5d..1cd4eef 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -4,10 +4,7 @@
dependencies: [
gmock,
gtest,
- ],
- include_directories: '..',
- link_with: [
- libaverage,
+ hwmon_dep,
],
)
@@ -17,8 +14,8 @@
dependencies: [
gmock,
gtest,
+ hwmon_dep,
],
- include_directories: '..',
)
fanpwm_unittest = executable(
@@ -27,12 +24,7 @@
dependencies: [
gmock,
gtest,
- phosphor_logging,
- fmt,
- ],
- include_directories: '..',
- link_with: [
- libfan_pwm,
+ hwmon_dep,
],
)
@@ -42,11 +34,7 @@
dependencies: [
gmock,
gtest,
- fmt,
- ],
- include_directories: '..',
- link_with: [
- libhwmon,
+ hwmon_dep,
],
)
@@ -56,11 +44,7 @@
dependencies: [
gtest,
gmock,
- fmt,
- ],
- include_directories: '..',
- link_with: [
- libhwmonio,
+ hwmon_dep,
],
)
@@ -71,10 +55,6 @@
dependencies: [
gtest,
gmock,
- fmt,
- ],
- include_directories: '..',
- link_with: [
- libsensor,
+ hwmon_dep,
],
)