Review Request 116646: Improve FindWayland.cmake

Alex Merry alex.merry at
Fri Mar 7 15:48:37 UTC 2014

This is an automatically generated e-mail. To reply, visit:

(Updated March 7, 2014, 3:48 p.m.)


This change has been discarded.

Review request for Build System, Extra Cmake Modules and KDE Frameworks.

Repository: extra-cmake-modules


Improve FindWayland.cmake

- Use Wayland_VERSION instead of Wayland_VERSION_STRING
- Put pkg-config calls within the helper macro
- Extract the version from wayland-version.h if necessary
- Add the dependency of wayland-egl on wayland-client
- Improve documentation


  find-modules/FindWayland.cmake a121de9f8adda1e035b0f8e8401be26a45b61af4 



Created a test CMakeLists.txt to call this, and played with various arguments to COMPONENTS and OPTIONAL_COMPONENTS, including when include files for certain components were removed from the system (so those components would not be found).  Everything worked as expected.


Alex Merry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-buildsystem mailing list