summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-21 15:41:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-21 15:41:48 -0600
commit0a2a54a02254ded760afd5b9c965c6bb71459d46 (patch)
tree9c908f06fdd3d8c2f60b1eab8ad6eb6ccdc10039 /ConfigureChecks.cmake
parentddf6eeea682e06d464193d7beb9460819616fd70 (diff)
downloadtdebase-0a2a54a02254ded760afd5b9c965c6bb71459d46.tar.gz
tdebase-0a2a54a02254ded760afd5b9c965c6bb71459d46.zip
Add udev detection to CMake
Fix tsak buid warnings
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 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