Link against xkbcommon

Otherwise the build fails with missing xkbcommon headers
This commit is contained in:
Nicolas Fella
2021-04-15 20:46:25 +02:00
parent cd409ed50e
commit 549f5ad682
2 changed files with 5 additions and 2 deletions

View File

@ -33,6 +33,9 @@ find_package(WaylandScanner)
find_package(QtWaylandScanner)
find_package(Wayland 1.3 COMPONENTS Client Server)
find_package(WaylandProtocols)
find_package(PkgConfig REQUIRED)
pkg_check_modules(XKBCOMMON xkbcommon REQUIRED IMPORTED_TARGET)
set_package_properties(Wayland PROPERTIES
TYPE REQUIRED)