build: fix build with wayland-scanner subproject

This commit is contained in:
denppa 2023-08-30 10:57:25 -04:00 committed by GitHub
parent 3d5ae9813d
commit 89f8531268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
wayland_scanner_dep = dependency('wayland-scanner', native: true)
wayland_scanner = find_program(
wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'),
wayland_scanner_dep.get_variable('wayland_scanner'),
native: true,
)