# KDE4WorkspaceConfig.cmake is generated by CMake from kdebase/workspace/KDE4WorkspaceConfig.cmake.in

# Do we have a version number for kdebase/workspace ? Alex
set(KDE4WORKSPACE_VERSION_MAJOR @KDE4WORKSPACE_VERSION_MAJOR@)
set(KDE4WORKSPACE_VERSION_MINOR @KDE4WORKSPACE_VERSION_MINOR@)
set(KDE4WORKSPACE_VERSION_PATCH @KDE4WORKSPACE_VERSION_PATCH@)
set(KDE4WORKSPACE_VERSION       "${KDE4WORKSPACE_VERSION_MAJOR}.${KDE4WORKSPACE_VERSION_MINOR}.${KDE4WORKSPACE_VERSION_PATCH}")

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

set(KDE4WORKSPACE_LIB_DIR             "@KDE4WORKSPACE_LIB_DIR@")
set(KDE4WORKSPACE_LIBEXEC_DIR         "@KDE4WORKSPACE_LIBEXEC_DIR@")
set(KDE4WORKSPACE_INCLUDE_DIR         "@KDE4WORKSPACE_INCLUDE_DIR@")
set(KDE4WORKSPACE_BIN_DIR             "@KDE4WORKSPACE_BIN_DIR@") 
set(KDE4WORKSPACE_SBIN_DIR            "@KDE4WORKSPACE_SBIN_DIR@")
set(KDE4WORKSPACE_DATA_DIR            "@KDE4WORKSPACE_DATA_DIR@")
set(KDE4WORKSPACE_HTML_DIR            "@KDE4WORKSPACE_HTML_DIR@")
set(KDE4WORKSPACE_CONFIG_DIR          "@KDE4WORKSPACE_CONFIG_DIR@")
set(KDE4WORKSPACE_ICON_DIR            "@KDE4WORKSPACE_ICON_DIR@") 
set(KDE4WORKSPACE_KCFG_DIR            "@KDE4WORKSPACE_KCFG_DIR@")
set(KDE4WORKSPACE_LOCALE_DIR          "@KDE4WORKSPACE_LOCALE_DIR@")
set(KDE4WORKSPACE_MIME_DIR            "@KDE4WORKSPACE_MIME_DIR@")
set(KDE4WORKSPACE_SOUND_DIR           "@KDE4WORKSPACE_SOUND_DIR@")
set(KDE4WORKSPACE_TEMPLATES_DIR       "@KDE4WORKSPACE_TEMPLATES_DIR@")
set(KDE4WORKSPACE_WALLPAPER_DIR       "@KDE4WORKSPACE_WALLPAPER_DIR@")
set(KDE4WORKSPACE_KCONF_UPDATE_DIR    "@KDE4WORKSPACE_KCONF_UPDATE_DIR@")
set(KDE4WORKSPACE_AUTOSTART_DIR       "@KDE4WORKSPACE_AUTOSTART_DIR@")
set(KDE4WORKSPACE_XDG_APPS_DIR        "@KDE4WORKSPACE_XDG_APPS_DIR@")
set(KDE4WORKSPACE_XDG_DIRECTORY_DIR   "@KDE4WORKSPACE_XDG_DIRECTORY_DIR@")
set(KDE4WORKSPACE_SYSCONF_DIR         "@KDE4WORKSPACE_SYSCONF_DIR@")
set(KDE4WORKSPACE_MAN_DIR             "@KDE4WORKSPACE_MAN_DIR@")
set(KDE4WORKSPACE_INFO_DIR            "@KDE4WORKSPACE_INFO_DIR@")
set(KDE4WORKSPACE_DBUS_INTERFACES_DIR "@KDE4WORKSPACE_DBUS_INTERFACES_DIR@")
set(KDE4WORKSPACE_DBUS_SERVICES_DIR   "@KDE4WORKSPACE_DBUS_SERVICES_DIR@")
set(KDE4WORKSPACE_SERVICES_DIR        "@KDE4WORKSPACE_SERVICES_DIR@")
set(KDE4WORKSPACE_SERVICETYPES_DIR    "@KDE4WORKSPACE_SERVICETYPES_DIR@")

# the exports file exports 
set(KDE4WORKSPACE_TARGET_PREFIX @KDE4WORKSPACE_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 @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)
   get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
   include("${_currentDir}/KDE4WorkspaceLibraryTargets.cmake")
endif(NOT TARGET @KDE4WORKSPACE_TARGET_PREFIX@plasmaclock)

macro(_KDE4WORKSPACE_Set_Lib_Vars _prefix _lib)
  set(KDE4WORKSPACE_${_prefix}_LIBRARY ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
  set(KDE4WORKSPACE_${_prefix}_LIBS    ${KDE4WORKSPACE_TARGET_PREFIX}${_lib})
endmacro(_KDE4WORKSPACE_Set_Lib_Vars)


_kde4workspace_set_lib_vars( TASKMANAGER        taskmanager)
_kde4workspace_set_lib_vars( KWORKSPACE         kworkspace)
_kde4workspace_set_lib_vars( SOLIDCONTROLIFACES solidcontrolifaces)
_kde4workspace_set_lib_vars( SOLIDCONTROL       solidcontrol)
_kde4workspace_set_lib_vars( PROCESSUI          processui)
_kde4workspace_set_lib_vars( LSOFUI             lsofui)
_kde4workspace_set_lib_vars( PLASMACLOCK        plasmaclock)
_kde4workspace_set_lib_vars( NEPOMUKQUERYCLIENT nepomukqueryclient)
_kde4workspace_set_lib_vars( NEPOMUKQUERY       nepomukquery)
_kde4workspace_set_lib_vars( KSCREENSAVER       kscreensaver)
_kde4workspace_set_lib_vars( WEATHERION         weather_ion)
_kde4workspace_set_lib_vars( KWINEFFECTS        kwineffects)
_kde4workspace_set_lib_vars( KDECORATIONS       kdecorations)
_kde4workspace_set_lib_vars( KSGRD              ksgrd)
_kde4workspace_set_lib_vars( KEPHAL             kephal)

