meson: use dependency()+find_program() for wayland-scanner
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 28 Jun 2018 13:34:18 +0000 (14:34 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 7 Aug 2018 16:23:17 +0000 (17:23 +0100)
commitc077b74ee8187042ad3ad8001d94074e73e3e9ea
tree4c84e3d7fdfb7258539185cb004e53773ab33e51
parent54d844897fe0afea4b5ddf08565af49a8191d808
meson: use dependency()+find_program() for wayland-scanner

Helps when the native wayland-scanner is located outside of PATH.
Inspired by the xserver code ;-)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build