fd8db3d60c
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>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libglfw
|
|
#
|
|
################################################################################
|
|
|
|
LIBGLFW_VERSION = 3.3.8
|
|
LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
|
|
LIBGLFW_INSTALL_STAGING = YES
|
|
LIBGLFW_LICENSE = Zlib
|
|
LIBGLFW_LICENSE_FILES = LICENSE.md
|
|
|
|
LIBGLFW_CONF_OPTS += \
|
|
-DGLFW_BUILD_EXAMPLES=OFF \
|
|
-DGLFW_BUILD_TESTS=OFF \
|
|
-DGLFW_BUILD_DOCS=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
LIBGLFW_DEPENDENCIES += xlib_libXcursor xlib_libXext \
|
|
xlib_libXi xlib_libXinerama xlib_libXrandr
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
|
LIBGLFW_DEPENDENCIES += libgl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
LIBGLFW_DEPENDENCIES += libgles
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
LIBGLFW_DEPENDENCIES += libxkbcommon wayland wayland-protocols
|
|
# Override pkg-config pkgdatadir variable, it needs the prefix
|
|
LIBGLFW_CONF_OPTS += \
|
|
-DGLFW_USE_WAYLAND=1 \
|
|
-DWAYLAND_PROTOCOLS_BASE=$(STAGING_DIR)/usr/share/wayland-protocols
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
|
LIBGLFW_DEPENDENCIES += xlib_libXxf86vm
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|