meson: Add sdbusplus as a subproject

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I0d39c126e351b6ecae1a1c82904f5298065b184f
diff --git a/meson.build b/meson.build
index 8a66358..a1e619e 100644
--- a/meson.build
+++ b/meson.build
@@ -28,7 +28,14 @@
 # i2c-tools doesn't ship a pkg-config file for libi2c
 i2c = meson.get_compiler('cpp').find_library('i2c')
 
-sdbusplus = dependency('sdbusplus')
+sdbusplus = dependency(
+    'sdbusplus',
+    fallback: [
+        'sdbusplus',
+        'sdbusplus_dep'
+    ],
+)
+
 systemd = dependency('systemd')
 systemd_system_unit_dir = systemd.get_variable(
     pkgconfig: 'systemdsystemunitdir',
diff --git a/subprojects/sdbusplus.wrap b/subprojects/sdbusplus.wrap
new file mode 100644
index 0000000..d470130
--- /dev/null
+++ b/subprojects/sdbusplus.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://github.com/openbmc/sdbusplus.git
+revision = HEAD