]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
libsdl2: add back xvm and xinerama options
authorChen Qi <Qi.Chen@windriver.com>
Wed, 25 May 2022 05:55:56 +0000 (22:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 May 2022 22:47:20 +0000 (23:47 +0100)
commit2c5d78153614fcdf30dbe3e41d88f18e9ae06684
tree231a5a6cd7737186403efebcc5f749cd8b5eb93f
parent1b5c620d10aa678871b6cea46e113c8fe3b79822
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.

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>
meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb