summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-06-01 22:46:37 +0300
committerMavridis Philippe <[email protected]>2024-09-08 01:34:28 +0300
commit8bd4c502f65ad364261913150ce59a74c993ca1c (patch)
tree485989564bf62a75bfcfec1ba72f975ad9369d77 /ConfigureChecks.cmake
parente91257a7c75a50b69bde8189f336acc89fa4fec0 (diff)
downloadtdebase-8bd4c502f65ad364261913150ce59a74c993ca1c.tar.gz
tdebase-8bd4c502f65ad364261913150ce59a74c993ca1c.zip
KControl: add touchpad configuration module
Supports the Libinput and Synaptics drivers, includes documentation and inpupt-touchpad icon. Signed-off-by: Mavridis Philippe <[email protected]>
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 )