mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
meson: don't hard code find_program() location
Use 'dirs' argument to locate the program. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6d78280bb4
commit
785dfe58fa
@ -138,7 +138,7 @@ keyname_list = [
|
||||
'win32',
|
||||
]
|
||||
|
||||
keymap_gen_prog = find_program('@0@/src/keycodemapdb/tools/keymap-gen'.format(meson.project_source_root()))
|
||||
keymap_gen_prog = find_program('keymap-gen', dirs: [meson.project_source_root() / 'src' / 'keycodemapdb' / 'tools' ])
|
||||
keymap_src_file = '@0@/src/keycodemapdb/data/keymaps.csv'.format(meson.project_source_root())
|
||||
|
||||
foreach name : keycode_list
|
||||
|
Loading…
Reference in New Issue
Block a user