Include tinyxml2 dependency for all builds
Tinyxml2 needs to be included in all cases now. The current Meson build
will fail unless tinyxml2 is installed locally. given the inclusion of
tinyxml2.xml in dbus_monitor.hpp. In the past, the 'rest' option was
enabled by default, so this bug wasn't hit very often in practice. Now
that rest is disabled, this bug is much more apparent.
Tested: Code compiles
Signed-off-by: Cody Smith <scody@google.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I258356151ae0226c7b08a80ef78b043bc90731bc
diff --git a/meson.build b/meson.build
index f0def86..d81270f 100644
--- a/meson.build
+++ b/meson.build
@@ -255,13 +255,11 @@
endif
bmcweb_dependencies += sdbusplus
-if get_option('rest').enabled()
- tinyxml = dependency('tinyxml2',
- default_options: ['tests=false'],
- include_type: 'system',
- )
- bmcweb_dependencies += tinyxml
-endif
+tinyxml = dependency('tinyxml2',
+ default_options: ['tests=false'],
+ include_type: 'system',
+)
+bmcweb_dependencies += tinyxml
systemd = dependency('systemd')
zlib = dependency('zlib')