zzag created this revision.
zzag added reviewers: KWin, Frameworks.
Herald added projects: Frameworks, Build System.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.
zzag requested review of this revision.
REVISION SUMMARY
This module can be used to retrieve path of a directory with all
wayland-protocols'
protocols, like xdg-shell, and so on.
Example usage
find_package(WaylandProtocols REQUIRED)
ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS
PROTOCOL ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml
BASENAME xdg-shell
)
REPOSITORY
R240 Extra CMake Modules
BRANCH
find-wayland-protocols
REVISION DETAIL
https://phabricator.kde.org/D22156
AFFECTED FILES
docs/find-module/FindWaylandProtocols.rst
find-modules/FindWaylandProtocols.cmake
To: zzag, #kwin, #frameworks
Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, bencreasy, michaelh,
ngraham, bruns