diff options
Diffstat (limited to 'libkcal')
-rw-r--r-- | libkcal/ConfigureChecks.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libkcal/ConfigureChecks.cmake b/libkcal/ConfigureChecks.cmake index 90edc7f33..b4485ec3f 100644 --- a/libkcal/ConfigureChecks.cmake +++ b/libkcal/ConfigureChecks.cmake @@ -9,7 +9,12 @@ # ################################################# +# libical pkg_search_module( LIBICAL libical ) -if( NOT LIBICAL_FOUND ) +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() |