# KdepimLibs.cmake is generated by CMake from kdepimlibs/KdepimLibs.cmake.in

# set the kdepimlibs version number
set(KDEPIMLIBS_VERSION_MAJOR @KDEPIMLIBS_VERSION_MAJOR@)
set(KDEPIMLIBS_VERSION_MINOR @KDEPIMLIBS_VERSION_MINOR@)
set(KDEPIMLIBS_VERSION_PATCH @KDEPIMLIBS_VERSION_PATCH@)
set(KDEPIMLIBS_VERSION       "${KDEPIMLIBS_VERSION_MAJOR}.${KDEPIMLIBS_VERSION_MINOR}.${KDEPIMLIBS_VERSION_PATCH}")

# set the directories
if(NOT KDEPIMLIBS_INSTALL_DIR)
   set(KDEPIMLIBS_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")
endif(NOT KDEPIMLIBS_INSTALL_DIR)

set(KDEPIMLIBS_DATA_DIR            "@KDEPIMLIBS_DATA_DIR@")
set(KDEPIMLIBS_DBUS_INTERFACES_DIR "@KDEPIMLIBS_DBUS_INTERFACES_DIR@")
set(KDEPIMLIBS_DBUS_SERVICES_DIR   "@KDEPIMLIBS_DBUS_SERVICES_DIR@")
set(KDEPIMLIBS_INCLUDE_DIR         "@KDEPIMLIBS_INCLUDE_DIR@")
set(KDEPIMLIBS_LIB_DIR             "@KDEPIMLIBS_LIB_DIR@")
set(KDEPIMLIBS_BIN_DIR             "@KDEPIMLIBS_BIN_DIR@") 
set(KDEPIMLIBS_LIBEXEC_DIR         "@KDEPIMLIBS_LIBEXEC_DIR@")
set(KDEPIMLIBS_SBIN_DIR            "@KDEPIMLIBS_SBIN_DIR@")
set(KDEPIMLIBS_HTML_DIR            "@KDEPIMLIBS_HTML_DIR@")
set(KDEPIMLIBS_CONFIG_DIR          "@KDEPIMLIBS_CONFIG_DIR@")
set(KDEPIMLIBS_ICON_DIR            "@KDEPIMLIBS_ICON_DIR@") 
set(KDEPIMLIBS_KCFG_DIR            "@KDEPIMLIBS_KCFG_DIR@")
set(KDEPIMLIBS_LOCALE_DIR          "@KDEPIMLIBS_LOCALE_DIR@")
set(KDEPIMLIBS_MIME_DIR            "@KDEPIMLIBS_MIME_DIR@")
set(KDEPIMLIBS_SOUND_DIR           "@KDEPIMLIBS_SOUND_DIR@")
set(KDEPIMLIBS_TEMPLATES_DIR       "@KDEPIMLIBS_TEMPLATES_DIR@")
set(KDEPIMLIBS_KCONF_UPDATE_DIR    "@KDEPIMLIBS_KCONF_UPDATE_DIR@")
set(KDEPIMLIBS_AUTOSTART_DIR       "@KDEPIMLIBS_AUTOSTART_DIR@")
set(KDEPIMLIBS_XDG_APPS_DIR        "@KDEPIMLIBS_XDG_APPS_DIR@")
set(KDEPIMLIBS_XDG_DIRECTORY_DIR   "@KDEPIMLIBS_XDG_DIRECTORY_DIR@")
set(KDEPIMLIBS_SYSCONF_DIR         "@KDEPIMLIBS_SYSCONF_DIR@")
set(KDEPIMLIBS_MAN_DIR             "@KDEPIMLIBS_MAN_DIR@")
set(KDEPIMLIBS_INFO_DIR            "@KDEPIMLIBS_INFO_DIR@")
set(KDEPIMLIBS_SERVICES_DIR        "@KDEPIMLIBS_SERVICES_DIR@")
set(KDEPIMLIBS_SERVICETYPES_DIR    "@KDEPIMLIBS_SERVICETYPES_DIR@")

# These two are just for compatibility with KDE 4.[01]
set(KDEPIMLIBS4_DBUS_INTERFACES_DIR "${KDEPIMLIBS_DBUS_INTERFACES_DIR}")
set(KDEPIMLIBS4_DBUS_SERVICES_DIR   "${KDEPIMLIBS_DBUS_SERVICES_DIR}")

set(CMAKE_MODULE_PATH "${KDEPIMLIBS_DATA_DIR}/cmake/modules" "${CMAKE_MODULE_PATH}" )

# the exports file exports 
set(KDEPIMLIBS_TARGET_PREFIX @KDEPIMLIBS_TARGET_PREFIX@)

# Make sure to load the exported targets only once
# For the rest of this script it doesn't matter that much
if(NOT TARGET KDEPIMLibs__kresources)
   get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
   include("${_currentDir}/KDEPimLibsLibraryTargetsWithPrefix.cmake")
endif(NOT TARGET KDEPIMLibs__kresources)

macro(_KDEPIMLibs_Set_Lib_Vars _prefix _lib)
  set(KDEPIMLIBS_${_prefix}_LIBRARY ${KDEPIMLIBS_TARGET_PREFIX}${_lib})
  set(KDEPIMLIBS_${_prefix}_LIBS    ${KDEPIMLIBS_TARGET_PREFIX}${_lib})
  # these two are set for compatibility with KDE 4.[01], Alex:
  set(KDE4_${_prefix}_LIBRARY       ${KDEPIMLIBS_TARGET_PREFIX}${_lib})
  set(KDE4_${_prefix}_LIBS          ${KDEPIMLIBS_TARGET_PREFIX}${_lib})
endmacro(_KDEPIMLibs_Set_Lib_Vars)


_kdepimlibs_set_lib_vars( AKONADI        akonadi-kde)
_kdepimlibs_set_lib_vars( AKONADI_KMIME  akonadi-kmime)
_kdepimlibs_set_lib_vars( AKONADI_KABC   akonadi-kabc)
_kdepimlibs_set_lib_vars( GPGMEPP        gpgmepp)
_kdepimlibs_set_lib_vars( KABC           kabc)
_kdepimlibs_set_lib_vars( KBLOG          kblog)
_kdepimlibs_set_lib_vars( KCAL           kcal)
_kdepimlibs_set_lib_vars( KIMAP          kimap)
_kdepimlibs_set_lib_vars( KLDAP          kldap)
_kdepimlibs_set_lib_vars( KMIME          kmime)
_kdepimlibs_set_lib_vars( KPIMIDENTITIES kpimidentities)
_kdepimlibs_set_lib_vars( KPIMUTILS      kpimutils)
_kdepimlibs_set_lib_vars( KRESOURCES     kresources)
_kdepimlibs_set_lib_vars( KTNEF          ktnef)
_kdepimlibs_set_lib_vars( KXMLRPCCLIENT  kxmlrpcclient)
_kdepimlibs_set_lib_vars( MAILTRANSPORT  mailtransport)
_kdepimlibs_set_lib_vars( QGPGME         qgpgme)
_kdepimlibs_set_lib_vars( SYNDICATION    syndication)

