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

# set the version
set(Libkolab_VERSION_MAJOR @Libkolab_VERSION_MAJOR@)
set(Libkolab_VERSION_MINOR @Libkolab_VERSION_MINOR@)
set(Libkolab_VERSION_PATCH @Libkolab_VERSION_PATCH@)
set(Libkolab_VERSION ${Libkolab_VERSION_MAJOR}.${Libkolab_VERSION_MINOR}.${Libkolab_VERSION_PATCH} )

# Set the include directory
set(Libkolab_INCLUDES "@CONF_INCLUDE_DIRS@")

# import the exported targets
include(${Libkolab_CMAKE_DIR}/LibkolabTargets.cmake)

# set the expected library variable
set(Libkolab_LIBRARIES kolab )