meson: simplify sdbusplus dependency
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If34a35bd8984c5ef54fb88f2805570748cc08515
diff --git a/meson.build b/meson.build
index 666ef06..a7064a6 100644
--- a/meson.build
+++ b/meson.build
@@ -90,13 +90,7 @@
mapper = dependency('libmapper')
boost_coroutine = cpp.find_library('boost_coroutine', required: true)
std_cpp_fs = cpp.find_library('stdc++fs', required: true)
-
-sdbusplus_dep = dependency('sdbusplus', required : false, include_type: 'system')
-if not sdbusplus_dep.found()
- sdbusplus_proj = subproject('sdbusplus', required: true)
- sdbusplus_dep = sdbusplus_proj.get_variable('sdbusplus_dep')
- sdbusplus_dep = sdbusplus_dep.as_system('system')
-endif
+sdbusplus_dep = dependency('sdbusplus')
# Subfolders
subdir('libipmid')