khronos-cts: add opengl to REQUIRED_DISTRO_FEATURES

* depends on virtual/libgles2, virtual/egl and in DISTROs without opengl causes:
  ERROR: Nothing PROVIDES 'virtual/libgles2' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it)
  ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it)
  ERROR: Nothing RPROVIDES 'opengl-es-cts-dev' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it)
  ERROR: Nothing RPROVIDES 'opengl-es-cts' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa
2020-07-26 00:26:44 +02:00
committed by Khem Raj
parent 9c25e51805
commit 447c3b735e
@@ -16,7 +16,9 @@ SRCREV_FORMAT = "vk-gl-cts"
S = "${WORKDIR}/git"
inherit pkgconfig cmake
inherit pkgconfig cmake features_check
REQUIRED_DISTRO_FEATURES += "opengl"
DEPENDS += "libpng zlib virtual/libgles2 virtual/egl"