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

# libical
pkg_search_module( LIBICAL libical )
if( LIBICAL_FOUND )
  if( NOT (LIBICAL_VERSION VERSION_LESS "0.46") )
    set( USE_LIBICAL_0_46 1 CACHE INTERNAL "" FORCE )
  endif( )
else( )
  tde_message_fatal( "libical are required, but not found on your system" )
endif()