aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKdepimLibs.cmake
blob: 7a3825864b12fe38ad6879742aa251f1c427d678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Find if we installed kdepimlibs before to compile it
#
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.


find_path( KDEPIMLIBS_INCLUDE_DIR kcal/kcal.h
  ${KDE4_INCLUDE_DIR}
)

if( NOT KDEPIMLIBS_INCLUDE_DIR )
  message(FATAL_ERROR "Could NOT find a kdepimlibs installation.\nPlease build and install kdepimlibs first.")
endif(NOT KDEPIMLIBS_INCLUDE_DIR )

set(KDE4_EMAILFUNCTIONS_LIBS emailfunctions)
set(KDE4_KABC_LIBS kabc)
set(KDE4_KCAL_LIBS kcal)
set(KDE4_KTNEF_LIBS ktnef)
set(KDE4_KRESOURCES_LIBS kresources)
set(KDE4_SYNDICATION_LIBS syndication)
set(KDE4_KLDAP_LIBS kldap)