Review Request 120481: Do not skip searching for X11 and Wayland modules on Windows

Alex Merry alex.merry at kde.org
Thu Oct 16 18:48:30 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120481/
-----------------------------------------------------------

(Updated Oct. 16, 2014, 6:48 p.m.)


Review request for Extra Cmake Modules, kdewin and Martin Gräßlin.


Changes
-------

Add kdewin group.


Repository: extra-cmake-modules


Description
-------

While the search is unlikely to succeed on Windows, having different
behaviour between the platforms (eg: find_package(Wayland REQUIRED) was
not fatal on Windows, even though Wayland_FOUND would always be FALSE)
is not ideal, and if someone did port them to Windows for some reason,
the find modules should support that.

If applications actually want different behaviour between platforms
(like requiring a module on Unix, but not on Windows), they should
implement that logic themselves (since they will have to deal with
targets not being defined, etc, anyway).


Diffs
-----

  find-modules/FindEGL.cmake f1962b9abc7fef381efe073c1ce18379ab2a47da 
  find-modules/FindWayland.cmake 11716f04444497db380e94b3d8ef69f41546f789 
  find-modules/FindX11_XCB.cmake 05d18d5adfd197fea4f0c7defbe53da776ebac79 
  find-modules/FindXCB.cmake 76d69fd790fb4831abd8a8351a684b97f6816081 

Diff: https://git.reviewboard.kde.org/r/120481/diff/


Testing
-------

None whatsoever, since I want Martin's feedback on the idea first.


Thanks,

Alex Merry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20141016/81c0e61f/attachment.html>


More information about the Kde-windows mailing list