[kdepim/libkcal] check if libical version is equal or greater than 0.46

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223983 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
samelian 14 years ago
parent 2c9d3dc01e
commit 27d6a8f12e

@ -1,3 +1,6 @@
// libkcal
#cmakedefine USE_LIBICAL_0_46 1
// kalarm // kalarm
#cmakedefine WITHOUT_ARTS 1 #cmakedefine WITHOUT_ARTS 1

@ -9,7 +9,12 @@
# #
################################################# #################################################
# libical
pkg_search_module( LIBICAL 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" ) tde_message_fatal( "libical are required, but not found on your system" )
endif() endif()

Loading…
Cancel
Save