From 354555a2b85a35e123ba53dcc893119ef9534a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Oct 2012 13:58:32 +0200 Subject: Added OpenSLP support to CMake --- ConfigureChecks.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ConfigureChecks.cmake') 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( ) -- cgit v1.2.1