File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,15 @@ git -C glfw-src checkout --force "$GLFW_COMMIT"
5151# Install GLFW build dependencies
5252if [[ " $( uname) " == " Linux" ]]; then
5353 if command -v dnf & > /dev/null; then
54- dnf install -y libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel mesa-libGL-devel
54+ dnf install -y libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel mesa-libGL-devel \
55+ wayland-devel wayland-protocols-devel libxkbcommon-devel
5556 elif command -v apt-get & > /dev/null; then
5657 if [ " $( id -u) " -eq 0 ]; then
57- apt-get update && apt-get install -y libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libgl-dev
58+ apt-get update && apt-get install -y libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libgl-dev \
59+ libwayland-dev wayland-protocols libxkbcommon-dev
5860 else
59- sudo apt-get update && sudo apt-get install -y libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libgl-dev
61+ sudo apt-get update && sudo apt-get install -y libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libgl-dev \
62+ libwayland-dev wayland-protocols libxkbcommon-dev
6063 fi
6164 fi
6265fi
@@ -67,8 +70,7 @@ cmake -B glfw-src/build -S glfw-src \
6770 -DBUILD_SHARED_LIBS=OFF \
6871 -DGLFW_BUILD_EXAMPLES=OFF \
6972 -DGLFW_BUILD_TESTS=OFF \
70- -DGLFW_BUILD_DOCS=OFF \
71- -DGLFW_BUILD_WAYLAND=OFF
73+ -DGLFW_BUILD_DOCS=OFF
7274cmake --build glfw-src/build --parallel " $NJOBS "
7375
7476# Install
You can’t perform that action at this time.
0 commit comments