mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 15:47:23 +00:00
jasper: enable opengl only wih x11
The opengl PACKAGECONFIG depends on freeglut, but after commit
f721876add that's only available
with x11. Enable it only when both openg and x11 are available.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
1 parent
0a0ea87b8d
commit
5f76240e88
1 file changed
+1
-1
@@ -18,7 +18,7 @@ do_configure:prepend() {
|
||||
|
||||
EXTRA_OECMAKE:append = " -DJAS_STDC_VERSION=${JAS_STDC_VERSION}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)} \
|
||||
jpeg"
|
||||
|
||||
PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg,"
|
||||
|
||||
Reference in new issue
Block a user