From: Yogesh Tyagi <[email protected]>

Signed-off-by: Yogesh Tyagi <[email protected]>
---
 .../recipes-oneapi/embree/embree_4.3.3.bb                   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb 
b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb
index 77549479..30d26244 100644
--- a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb
+++ b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb
@@ -17,14 +17,16 @@ SRCREV = "5730b150471602d6dc02d9b7d8a4a6ce9ceffe16"
 COMPATIBLE_HOST = '(x86_64).*-linux'
 COMPATIBLE_HOST:libc-musl = "null"
 
-DEPENDS = "tbb jpeg libpng glfw ispc-native"
+DEPENDS = "tbb jpeg libpng ispc-native"
 
 EXTRA_OECMAKE += " \
                   -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF  \
                   -DEMBREE_MAX_ISA=DEFAULT  \
-                  -DEMBREE_TUTORIALS=OFF  \
                   -DEMBREE_ISPC_SUPPORT=ON  \
                   -DEMBREE_ZIP_MODE=OFF  \
                   "
+# When tutorials are enabled, glvnd needs to be enabled:
+# DISTRO_FEATURES += "glvnd"
+PACKAGECONFIG[tutorial] = "-DEMBREE_TUTORIALS=ON,-DEMBREE_TUTORIALS=OFF,glfw"
 
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8670): 
https://lists.yoctoproject.org/g/meta-intel/message/8670
Mute This Topic: https://lists.yoctoproject.org/mt/117256792/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to