mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
28
package/libglfw/libglfw.mk
Normal file
28
package/libglfw/libglfw.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# libglfw
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGLFW_VERSION = 3.2.1
|
||||
LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
|
||||
LIBGLFW_INSTALL_STAGING = YES
|
||||
LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \
|
||||
xlib_libXinerama xlib_libXrandr
|
||||
LIBGLFW_LICENSE = Zlib
|
||||
LIBGLFW_LICENSE_FILES = COPYING.txt
|
||||
|
||||
LIBGLFW_CONF_OPTS += \
|
||||
-DGLFW_BUILD_EXAMPLES=OFF \
|
||||
-DGLFW_BUILD_TESTS=OFF \
|
||||
-DGLFW_BUILD_DOCS=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
|
||||
LIBGLFW_DEPENDENCIES += xlib_libXi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
||||
LIBGLFW_DEPENDENCIES += xlib_libXxf86vm
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user