summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
blob: fc046210638d97c9dffdc5a45f4d0b752c58c6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

if( BUILD_KOPETE OR BUILD_KPPP )
  check_include_file( string.h HAVE_STRING_H )
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( )