summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
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 9ecdb141..ce92731a 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -30,3 +30,12 @@ endif( )
# required stuff
find_package( TQt )
find_package( TDE )
+
+if( WITH_SLP )
+ check_library_exists( slp "SLPOpen" "" HAVE_SLP )
+ if( HAVE_SLP )
+ set(LIB_SLP slp )
+ else( )
+ tde_message_fatal( "openslp is required, but was not found on your system" )
+ endif( )
+endif( )