Allow override of wayland-scanner executable
authorMaíra Canal <mcanal@igalia.com>
Thu, 24 Nov 2022 09:52:39 +0000 (10:52 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 1 Dec 2022 23:40:35 +0000 (23:40 +0000)
commit6dfa0b69b46e69bdabd213ec2cf915bcd6e689f3
tree4aa7692e014f6882737c437bf5d6457457b4af16
parent99a2176166fc986ef0163fea869425665d411347
Allow override of wayland-scanner executable

When cross-compiling, if the environment variables
PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR are set to the target
sysroot, the wayland_scanner executable won't be found and the
compilation will fail as the xdg-shell header cannot be generated.
Therefore, allow overriding the wayland-scanner executable so that an
alternative executable can be provided with the variable
WAYLAND_SCANNER.

VK-GL-CTS issue: 4139
Components: Framework

Change-Id: I7848a353e93dd07638afadada9c3e0b96ffb5406
framework/platform/CMakeLists.txt