mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 17:30:28 +01:00
meson.build: silence meson warning that we should use configure_file's copy
Yes, we should use 'copy'. But that requires 0.47 and that's not an option right now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
997f30e80e
commit
307f36e038
1 changed files with 6 additions and 0 deletions
|
|
@ -476,6 +476,12 @@ configure_file(input : 'tools/libinput-measure.man',
|
|||
)
|
||||
|
||||
config_noop = configuration_data()
|
||||
# Set a dummy replacement to silence meson warnings:
|
||||
# meson.build:487: WARNING: Got an empty configuration_data() object and
|
||||
# found no substitutions in the input file 'foo'. If you
|
||||
# want to copy a file to the build dir, use the 'copy:'
|
||||
# keyword argument added in 0.47.0
|
||||
config_noop.set('dummy', 'dummy')
|
||||
configure_file(input: 'tools/libinput-measure-fuzz.py',
|
||||
output: 'libinput-measure-fuzz',
|
||||
configuration : config_noop,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue