fwupd/plugins/logitech-bulkcontroller/meson.build
Richard Hughes 0415db6f67 Revert "trivial: Use files() rather than current_source_dir()"
This reverts commit b581fa5670 as it breaks
`ninja dist` with `-Dgresource_quirks=enabled`.
2022-09-25 10:31:14 +01:00

33 lines
695 B
Meson

if gusb.found() and protobufc.found() and protoc.found()
cargs = ['-DG_LOG_DOMAIN="FuPluginLogitechBulkController"']
plugin_quirks += join_paths(meson.current_source_dir(), 'logitech-bulkcontroller.quirk')
subdir('proto')
shared_module('fu_plugin_logitech_bulkcontroller',
fu_hash,
sources: [
generated,
'fu-logitech-bulkcontroller-common.c',
'fu-logitech-bulkcontroller-device.c',
'fu-plugin-logitech-bulkcontroller.c',
],
include_directories: [
root_incdir,
fwupd_incdir,
fwupdplugin_incdir,
],
install: true,
install_dir: plugin_dir,
link_with: [
fwupd,
fwupdplugin,
],
c_args: cargs,
dependencies: [
plugin_deps,
],
)
endif