kumquat-buildroot/package/libglfw/Config.in
Fabrice Fontaine 0bbb12eff3 package/libglfw: fix wayland build
Fix the following build failure raised since bump to version 3.3.6 in
commit 3cd9bb4f2a:

CMake Error at CMakeLists.txt:252 (find_package):
  Could not find a package configuration file provided by "ECM" with any of
  the following names:

    ECMConfig.cmake
    ecm-config.cmake

Fixes:
 - http://autobuild.buildroot.org/results/0d7420aff7392c294614fd12e65ac7cd57787e98

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-03-06 22:20:37 +01:00

21 lines
905 B
Plaintext

config BR2_PACKAGE_LIBGLFW
bool "libglfw"
depends on BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
help
GLFW is an Open Source, multi-platform library for creating
windows with OpenGL contexts and receiving input and events.
http://www.glfw.org
comment "libglfw depends on X.org or Wayland and an OpenGL or GLES backend"
depends on !(BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND)
depends on !(BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES)