package/libglfw: add wayland dependency

Fix added by commit 0bbb12eff3 was
incomplete resulting in the following build failure:

-- Checking for modules 'wayland-client>=0.2.7;wayland-cursor>=0.2.7;wayland-egl>=0.2.7;xkbcommon'
--   Package 'wayland-client', required by 'virtual:world', not found
--   Package 'wayland-cursor', required by 'virtual:world', not found
--   Package 'wayland-egl', required by 'virtual:world', not found
CMake Error at /home/autobuild/autobuild/instance-9/output-1/host/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
  A required package was not found

Fixes:
 - http://autobuild.buildroot.org/results/9c032902418a4ab0c9aa655eb29eddee0711815d
 - http://autobuild.buildroot.org/results/7381e114fa5c796c6edbb2c8e3987563bb32b6fa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-03-03 20:07:26 +01:00 committed by Peter Korsgaard
parent d7085ab3ea
commit fd8db3d60c

View File

@ -29,7 +29,7 @@ LIBGLFW_DEPENDENCIES += libgles
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols
LIBGLFW_DEPENDENCIES += libxkbcommon wayland wayland-protocols
# Override pkg-config pkgdatadir variable, it needs the prefix
LIBGLFW_CONF_OPTS += \
-DGLFW_USE_WAYLAND=1 \