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

# set the version
set(Libkolabxml_VERSION_MAJOR @Libkolabxml_VERSION_MAJOR@)
set(Libkolabxml_VERSION_MINOR @Libkolabxml_VERSION_MINOR@)
set(Libkolabxml_VERSION_PATCH @Libkolabxml_VERSION_PATCH@)
set(Libkolabxml_VERSION ${Libkolabxml_VERSION_MAJOR}.${Libkolabxml_VERSION_MINOR}.${Libkolabxml_VERSION_PATCH})

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

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

# set the expected library variable
set(Libkolabxml_LIBRARIES kolabxml)