wayland: The rest of the wayland-client 1.18 requirement... Git, please

This commit is contained in:
Ethan Lee
2022-03-23 13:27:01 -04:00
parent f3ff0c568e
commit 13337e17a5
4 changed files with 10 additions and 23 deletions

View File

@@ -632,7 +632,7 @@ endmacro()
# - HAVE_SDL_LOADSO opt
macro(CheckWayland)
if(SDL_WAYLAND)
pkg_check_modules(WAYLAND wayland-client wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
pkg_check_modules(WAYLAND "wayland-client>=1.18" wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
if(WAYLAND_FOUND)
find_program(WAYLAND_SCANNER NAMES wayland-scanner REQUIRED)