Require Wayland 1.20 libraries.

KiCad doesn't build with older versions due to missing definitions.


(cherry picked from commit e26778c599)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
This commit is contained in:
dsa-t 2024-04-27 17:26:57 +00:00
parent 2ca07b47af
commit 87f3d45109
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 )