summaryrefslogtreecommitdiff
path: root/recipes-qt/qt5/qt3d_%.bbappend
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-09-23 16:39:25 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-03-06 13:44:33 +0100
commit4541471a1e3d7055e3dc087ae0c82606217826c5 (patch)
treeb7cf02da83530ae04764c32de693c8f7d0fa16aa /recipes-qt/qt5/qt3d_%.bbappend
parent581dac6b59a632eca26b54b9ff749dd37d5aea07 (diff)
qt3d: depend on the configered opengl flavours
qt3d picks up the configured flavours of OpenGL from qtbase. So add them to DEPENDS or one gets linker errors. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-qt/qt5/qt3d_%.bbappend')
-rw-r--r--recipes-qt/qt5/qt3d_%.bbappend10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt3d_%.bbappend b/recipes-qt/qt5/qt3d_%.bbappend
new file mode 100644
index 0000000..4807e4a
--- /dev/null
+++ b/recipes-qt/qt5/qt3d_%.bbappend
@@ -0,0 +1,10 @@
+# qt3d links against the opengl flavours we configured qtbase for, so
+# depend on them here
+DEPENDS_GLES = ""
+DEPENDS_GLES_tegra = "virtual/libgles2 virtual/egl"
+DEPENDS_GLES_imxpxp += "virtual/libgles2 virtual/egl"
+DEPENDS_GLES_imgpu3d += "virtual/libgles2 virtual/egl"
+DEPENDS_GLES_use-mainline-bsp += "virtual/libgles2 virtual/egl"
+
+DEPENDS_class-target += " ${DEPENDS_GLES}"
+