Require Wayland 1.20 libraries.

KiCad doesn't build with older versions due to missing definitions.
This commit is contained in:
Alex Shvartzkop 2024-04-27 16:48:34 +03:00
parent c59ed0bbb7
commit e26778c599
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ elseif( UNIX )
list( APPEND PLATFORM_LIBS ${secret_LIBRARIES} ) list( APPEND PLATFORM_LIBS ${secret_LIBRARIES} )
if( KICAD_WAYLAND ) if( KICAD_WAYLAND )
find_package(Wayland COMPONENTS Client REQUIRED) find_package(Wayland 1.20 COMPONENTS Client REQUIRED)
list( APPEND PLATFORM_SRCS gtk/wayland-pointer-constraints-unstable-v1.c ) list( APPEND PLATFORM_SRCS gtk/wayland-pointer-constraints-unstable-v1.c )
list( APPEND PLATFORM_LIBS Wayland::Client ) list( APPEND PLATFORM_LIBS Wayland::Client )