1
0
Fork 0

Fix: [Linux] install all X11 dependencies in linux-generic

Without this, xrandr support is not compiled into SDL, which means
that SDL will only see a single display spanning all your displays
(a virtual desktop).
pull/11787/head
Patric Stout 2024-01-15 20:04:27 +01:00
parent a1690d5b7b
commit b6cb369469
1 changed files with 16 additions and 0 deletions

View File

@ -119,6 +119,22 @@ jobs:
# EOF
echo "::endgroup::"
echo "::group::Install video drivers"
# These video libs are to make sure the SDL version of vcpkg adds
# video-support; these libraries are not added to the resulting
# binary, but the headers are used to enable them in SDL.
yum install -y \
libX11-devel \
libXcursor-devel \
libXext-devel \
libXfixes-devel \
libXi-devel \
libxkbcommon-devel \
libXrandr-devel \
libXScrnSaver-devel \
# EOF
echo "::endgroup::"
# We use vcpkg for our dependencies, to get more up-to-date version.
echo "::group::Install vcpkg and dependencies"