summaryrefslogtreecommitdiff
path: root/cmake/modules/LibcalendaringConfig.cmake.in
blob: 8b693e55befd29bb67bc940732a95fa88cf73f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
get_filename_component(Libcalendaring_CMAKE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) #get the directory where this *Config.cmake file is installed 

# set the version
set(Libcalendaring_VERSION_MAJOR @Libcalendaring_VERSION_MAJOR@)
set(Libcalendaring_VERSION_MINOR @Libcalendaring_VERSION_MINOR@)
set(Libcalendaring_VERSION_PATCH @Libcalendaring_VERSION_PATCH@)
set(Libcalendaring_VERSION ${Libcalendaring_VERSION_MAJOR}.${Libcalendaring_VERSION_MINOR}.${Libcalendaring_VERSION_PATCH} )

set(KdepimLibs_VERSION_MAJOR @KdepimLibs_VERSION_MAJOR@)
set(KdepimLibs_VERSION_MINOR @KdepimLibs_VERSION_MINOR@)
set(KdepimLibs_VERSION_PATCH @KdepimLibs_VERSION_PATCH@)

# Set the include directory
set(Libcalendaring_INCLUDES "@CONF_INCLUDE_DIRS@")
set(Libcalendaring_INCLUDE_DIRS ${Libcalendaring_INCLUDES})

# import the exported targets
#include(${Libcalendaring_CMAKE_DIR}/LibcalendaringTargets.cmake)

# set the expected library variable
set(Libcalendaring_LIBRARIES calendaring-kdecore calendaring-kcalcore calendaring-kmime calendaring-kimap calendating-kabc calendaring-akonadi-notes calendaring-kcalutils calendaring-kpimutils)