[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
|
|
|
#################################################
|
|
|
|
#
|
|
|
|
# (C) 2010-2011 Serghei Amelian
|
|
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
|
|
#
|
|
|
|
# Improvements and feedback are welcome
|
|
|
|
#
|
|
|
|
# This file is released under GPL >= 2
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
# libical
|
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
|
|
|
pkg_search_module( LIBICAL libical )
|
|
|
|
if( LIBICAL_FOUND )
|
|
|
|
# check for libical >= 3.0
|
|
|
|
if( NOT (LIBICAL_VERSION VERSION_LESS "3.0") )
|
|
|
|
add_definitions(-DUSE_LIBICAL_3_0)
|
|
|
|
endif( )
|
|
|
|
# check for libical >= 0.46
|
|
|
|
if( NOT (LIBICAL_VERSION VERSION_LESS "0.46") )
|
|
|
|
add_definitions(-DUSE_LIBICAL_0_46)
|
|
|
|
endif( )
|
|
|
|
else( )
|
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
|
|
|
tde_message_fatal( "libical are required, but not found on your system" )
|
|
|
|
endif()
|