summaryrefslogtreecommitdiffstats
path: root/libkcal/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/ConfigureChecks.cmake')
-rw-r--r--libkcal/ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkcal/ConfigureChecks.cmake b/libkcal/ConfigureChecks.cmake
index 3b325187b..82e70cdf0 100644
--- a/libkcal/ConfigureChecks.cmake
+++ b/libkcal/ConfigureChecks.cmake
@@ -16,6 +16,10 @@ if( LIBICAL_FOUND )
if( NOT (LIBICAL_VERSION VERSION_LESS "3.0") )
add_definitions(-DUSE_LIBICAL_3_0)
endif( )
+ # check for libical >= 1.0
+ if( LIBICAL_VERSION VERSION_LESS "1.0" )
+ set( LIBICAL_LESS_1_0 1 CACHE INTERNAL "" FORCE )
+ endif( )
# check for libical >= 0.46
if( NOT (LIBICAL_VERSION VERSION_LESS "0.46") )
add_definitions(-DUSE_LIBICAL_0_46)