summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2012-10-26 13:58:32 +0200
committerSlávek Banko <[email protected]>2012-10-26 13:58:32 +0200
commit354555a2b85a35e123ba53dcc893119ef9534a43 (patch)
tree0e52c628440dc98eb876ad6c1e83e41ec4f770ec /ConfigureChecks.cmake
parent93dc872306fb4daa2eda10382fff841fd6b9bcdc (diff)
downloadtdenetwork-354555a2b85a35e123ba53dcc893119ef9534a43.tar.gz
tdenetwork-354555a2b85a35e123ba53dcc893119ef9534a43.zip
Added OpenSLP support to CMake
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( )