fmt: Remove fmtlib dependencies
Remove the remaining usage for the fmtlib.
Tested: working fine with the error messages.
Change-Id: I68dc70428a75706b2fc70e43f8da321d84f052cc
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/meson.build b/meson.build
index 407f257..62be177 100644
--- a/meson.build
+++ b/meson.build
@@ -34,30 +34,17 @@
'nlohmann::json',
dependencies: json_dep)
-fmt_dep = dependency('fmt', required: false)
-if not fmt_dep.found()
- fmt_proj = import('cmake').subproject(
- 'fmt',
- cmake_options: [
- '-DCMAKE_POSITION_INDEPENDENT_CODE=ON',
- '-DMASTER_PROJECT=OFF'
- ],
- required: false)
- assert(fmt_proj.found(), 'fmtlib is required')
- fmt_dep = fmt_proj.dependency('fmt')
-endif
-
+stdplus = dependency('stdplus')
subdir('bifurcation')
sys_pre = declare_dependency(
include_directories: root_inc,
dependencies: [
json_dep,
- fmt_dep,
dependency('phosphor-dbus-interfaces'),
dependency('phosphor-logging'),
dependency('sdbusplus'),
- dependency('stdplus'),
+ stdplus,
bifurcation_dep,
])