From 0a2a54a02254ded760afd5b9c965c6bb71459d46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 21 Jan 2012 15:41:48 -0600 Subject: Add udev detection to CMake Fix tsak buid warnings --- ConfigureChecks.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index df892e1db..aa7453af1 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -44,6 +44,15 @@ if( WITH_HAL ) endif( ) +# udev (tsak) +if( BUILD_TSAK ) + pkg_search_module( UDEV udev ) + if( NOT UDEV_FOUND ) + tde_message_fatal( "udev is required, but was not found on your system" ) + endif( ) +endif( ) + + ##### check for gcc visibility support ######### # FIXME # This should check for [T]Qt3 visibility support -- cgit v1.2.1