mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 11:24:54 +00:00
jasper: enable opengl only wih x11
The opengl PACKAGECONFIG depends on freeglut, but after commit f721876add48dccfd228cc09ef261909afeb2d25 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:
parent
0a0ea87b8d
commit
5f76240e88
@ -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,"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user