From 07202787d96d30dfd88ffeeea6b45d72722cc60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 20 May 2024 10:21:45 +0200 Subject: Fix the detecion and use of the udev library. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 22db72d853c2ec99a2c9fd41cf73fc1f22008707) --- ConfigureChecks.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ConfigureChecks.cmake') 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( ) -- cgit v1.2.1