Fix build issue under openbmc/openbmc codebase
It has got +1 during below patch review.
It is moved here due to dbus-top repo is moved.
https://gerrit.openbmc.org/c/openbmc/openbmc-tools/+/61001
Change-Id: Iaaf2ae5d84a7d858b7a812d6393981e3b5202531
Signed-off-by: Kwin Wang <wangkuiying.wky@alibaba-inc.com>
diff --git a/meson.build b/meson.build
index 60d4641..eda0796 100644
--- a/meson.build
+++ b/meson.build
@@ -14,16 +14,12 @@
project('dbus-top', 'cpp',
version: '0.1',
- default_options:
+ default_options:
[
'cpp_std=c++17',
],
)
-cmake = import('cmake')
-fmt_proj = cmake.subproject('fmt')
-fmt_dep = fmt_proj.dependency('fmt')
-
bindir = get_option('prefix') / get_option('bindir')
executable('dbus-top',
[
@@ -41,7 +37,7 @@
dependency('sdbusplus'),
dependency('ncurses'),
dependency('threads'),
- fmt_dep
+ dependency('fmt')
],
install: true,
install_dir: bindir