Don't install DBus introspection data when using -Dintrospection=false

This commit is contained in:
Richard Hughes 2021-11-27 19:10:18 +00:00
parent 02eac5c75f
commit 5d09600483

View File

@ -2,7 +2,7 @@ if get_option('tests')
subdir('tests')
endif
if build_daemon
if build_daemon and get_option('introspection')
install_data(['org.freedesktop.fwupd.xml'],
install_dir : join_paths(datadir, 'dbus-1', 'interfaces')
)