summaryrefslogtreecommitdiff
path: root/cmake/modules/LibkolabxmlConfig.cmake.in
blob: 8f04f3690db477c0b6f5416d945d55268882515d (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(${Libkolabxml_CMAKE_DIR}/LibkolabxmlTargets.cmake)

# set the expected library variable
set(Libkolabxml_LIBRARIES kolabxml)