2015-11-07 17:50:51 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libglfw
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-13 13:43:37 +02:00
|
|
|
LIBGLFW_VERSION = 3.3.2
|
2015-11-07 17:50:51 +01:00
|
|
|
LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
|
|
|
|
LIBGLFW_INSTALL_STAGING = YES
|
|
|
|
LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \
|
2020-04-13 13:43:37 +02:00
|
|
|
xlib_libXi xlib_libXinerama xlib_libXrandr
|
2017-03-30 15:43:47 +02:00
|
|
|
LIBGLFW_LICENSE = Zlib
|
2019-08-28 18:13:26 +02:00
|
|
|
LIBGLFW_LICENSE_FILES = LICENSE.md
|
2015-11-07 17:50:51 +01:00
|
|
|
|
|
|
|
LIBGLFW_CONF_OPTS += \
|
|
|
|
-DGLFW_BUILD_EXAMPLES=OFF \
|
|
|
|
-DGLFW_BUILD_TESTS=OFF \
|
|
|
|
-DGLFW_BUILD_DOCS=OFF
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
|
|
|
LIBGLFW_DEPENDENCIES += xlib_libXxf86vm
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|