summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-05-20 10:21:45 +0200
committerSlávek Banko <[email protected]>2024-05-20 11:23:27 +0200
commit07202787d96d30dfd88ffeeea6b45d72722cc60f (patch)
tree0c026bc7658282ec956749fff7491048407d33d5 /ConfigureChecks.cmake
parent518c68062f0b26b36c9fb518c5dcfb9957adc755 (diff)
downloadtdebase-07202787d96d30dfd88ffeeea6b45d72722cc60f.tar.gz
tdebase-07202787d96d30dfd88ffeeea6b45d72722cc60f.zip
Fix the detecion and use of the udev library.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 22db72d853c2ec99a2c9fd41cf73fc1f22008707)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b72d866df..45c0be953 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -159,11 +159,11 @@ if( WITH_TDEHWLIB )
endif( )
-# udev (tsak)
-if( BUILD_TSAK )
- pkg_search_module( UDEV udev )
+# udev (tsak, tdekbdledsync)
+if( BUILD_TSAK OR BUILD_TDEKBDLEDSYNC )
+ pkg_search_module( UDEV libudev )
if( NOT UDEV_FOUND )
- tde_message_fatal( "udev is required, but was not found on your system" )
+ tde_message_fatal( "udev library is required, but was not found on your system" )
endif( )
endif( )