meson: simplify dependencies
Leverage wrapfile `[provide]` directives to simplify the dependency
searching in the meson.build.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39d423dad8a08949317c991b845aaa5fc23969a4
diff --git a/meson.build b/meson.build
index abad426..fe6e095 100644
--- a/meson.build
+++ b/meson.build
@@ -11,14 +11,8 @@
version: '1.0',
)
-phosphor_logging = dependency(
- 'phosphor-logging',
- fallback: [
- 'phosphor-logging',
- 'phosphor_logging_dep'])
-sdbusplus = dependency(
- 'sdbusplus',
- fallback: ['sdbusplus', 'sdbusplus_dep'])
+phosphor_logging = dependency('phosphor-logging')
+sdbusplus = dependency('sdbusplus')
if get_option('tests').enabled()
gtest = dependency('gtest', main: true, disabler: true, required: false)