summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-06-01 22:46:37 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-09-08 01:35:16 +0300
commit2af9d1ed2ccf0c303df4b6a845395ebd7b099c3b (patch)
treee745b4f24bf1a3a4b4ccd8244f82b6d60b744209 /ConfigureChecks.cmake
parent63178a8866996791c95b349988a064c26a826025 (diff)
downloadtdebase-2af9d1ed2ccf0c303df4b6a845395ebd7b099c3b.tar.gz
tdebase-2af9d1ed2ccf0c303df4b6a845395ebd7b099c3b.zip
KControl: add touchpad configuration module
Supports the Libinput and Synaptics drivers, includes documentation and inpupt-touchpad icon. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 8bd4c502f65ad364261913150ce59a74c993ca1c)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 771d5b1f7..1bed63101 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -678,4 +678,13 @@ if( BUILD_KCONTROL OR BUILD_TDM )
endif( BUILD_KCONTROL OR BUILD_TDM )
+# XInput (kcontrol/input/touchpad.cpp)
+if( BUILD_KCONTROL )
+ pkg_search_module( XINPUT xi )
+ if( NOT XINPUT_FOUND )
+ tde_message_fatal( "XInput is required, but was not found on your system" )
+ endif( )
+endif ( BUILD_KCONTROL )
+
+
check_include_files( "sys/time.h;sys/loadavg.h" HAVE_SYS_LOADAVG_H )