diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2022-05-24 22:55:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-27 23:50:47 +0100 |
commit | 284486b7ccc784e1742292bd72853355d0c66a8f (patch) | |
tree | b07f029d71d601014bf242dd68bf27082360c0fd /meta | |
parent | f548200d231bad0b48ff0db32ddff497aec4f10d (diff) | |
download | poky-284486b7ccc784e1742292bd72853355d0c66a8f.tar.gz |
libsdl2: add back xvm and xinerama options
When building libsdl2-native, and I met a do_configure error as below.
| CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
| Please set them or make sure they are set and tested correctly in the CMake files:
| XINERAMA_LIB
This error appears on hosts with libxinerama-dev installed.
Looking at the CMakeLists.txt file, I got:
set(SDL_X11_OPTIONS Xcursor Xdbe Xinerama XInput Xfixes Xrandr Xscrnsaver XShape Xvm
We an see neither Xinerama nor Xvm is removed. So we should add back
these options removed by a previous commit.
(From OE-Core rev: 2c5d78153614fcdf30dbe3e41d88f18e9ae06684)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb index b112d63784..8519e7f732 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | |||
@@ -43,7 +43,9 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \ | |||
43 | -DSDL_PTHREADS=ON \ | 43 | -DSDL_PTHREADS=ON \ |
44 | -DSDL_RPATH=OFF \ | 44 | -DSDL_RPATH=OFF \ |
45 | -DSDL_SNDIO=OFF \ | 45 | -DSDL_SNDIO=OFF \ |
46 | -DSDL_X11_XVM=OFF \ | ||
46 | -DSDL_X11_XCURSOR=OFF \ | 47 | -DSDL_X11_XCURSOR=OFF \ |
48 | -DSDL_X11_XINERAMA=OFF \ | ||
47 | -DSDL_X11_XDBE=OFF \ | 49 | -DSDL_X11_XDBE=OFF \ |
48 | -DSDL_X11_XFIXES=OFF \ | 50 | -DSDL_X11_XFIXES=OFF \ |
49 | -DSDL_X11_XINPUT=OFF \ | 51 | -DSDL_X11_XINPUT=OFF \ |