mirror-kde-plasma-desktop/cmake/modules
Andreas Sturmlechner 82e7a6b68d Add FindXorgServer.cmake and use it for touchpad KCM
Summary:
x11 backend of the touchpad KCM uses xserver-properties.h that is part of
xorg-server package. As XORG_INCLUDE_DIRS seems to be empty, so far, it was
relying on Synaptics_INCLUDE_DIRS implicitly and worked only if the header
happened to be in the same directory as Synaptics' which is the case most of
the time.

FindXorgServer.cmake is just a copy of FindXorgLibinput, adapted accordingly.

Test Plan:
Pointed Synaptics_INCLUDE_DIRS somewhere else than /usr/include/xorg and build
succeeded.

Reviewers: #plasma, zzag

Reviewed By: #plasma, zzag

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29514
2020-05-07 21:19:48 +02:00
..
FindEvdev.cmake Require xorg-evdev >= 2.8.99.1 2015-05-23 19:49:11 +02:00
FindSynaptics.cmake replace reference to licence with the bsd licence as the reference often goes missing 2015-04-23 16:10:00 +02:00
FindUDev.cmake kcm_keyboard: Use udev device notifier when xcb-xinput is not available 2015-11-18 22:46:23 +01:00
FindXorgLibinput.cmake Add xf86-input-libinput support for X11 mouse backend. 2017-12-04 14:23:00 -08:00
FindXorgServer.cmake Add FindXorgServer.cmake and use it for touchpad KCM 2020-05-07 21:19:48 +02:00