forked from kolab-groupware/akonadi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAkonadiConfig.cmake.in
44 lines (35 loc) · 1.78 KB
/
AkonadiConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# AkonadiConfig.cmake is generated by CMake from akonadi/AkonadiConfig.cmake.in.
# Any changed value in this file will be overwritten by CMake.
@PACKAGE_INIT@
# set the akonadi version number
set(AKONADI_VERSION_MAJOR @AKONADI_VERSION_MAJOR@)
set(AKONADI_VERSION_MINOR @AKONADI_VERSION_MINOR@)
set(AKONADI_VERSION_PATCH @AKONADI_VERSION_PATCH@)
set(AKONADI_VERSION @AKONADI_VERSION@)
set(AKONADI_VERSION_STRING "@AKONADI_VERSION_STRING@")
# set AKONADI_DEFINITIONS
set(AKONADI_USE_STRIGI_SEARCH FALSE) # backward compat, remove eventually
set(AKONADI_DEFINITIONS "@AKONADI_DEFINITIONS@")
# set the directories
if(NOT AKONADI_INSTALL_DIR)
set(AKONADI_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")
endif(NOT AKONADI_INSTALL_DIR)
set_and_check(AKONADI_BIN_DIR "@PACKAGE_BIN_INSTALL_DIR@")
set_and_check(AKONADI_CONFIG_DIR "@PACKAGE_CONFIG_INSTALL_DIR@")
set_and_check(AKONADI_DBUS_INTERFACES_DIR "@PACKAGE_DBUS_INTERFACES_INSTALL_DIR@")
set_and_check(AKONADI_DBUS_SERVICES_DIR "@PACKAGE_DBUS_SERVICES_INSTALL_DIR@")
set_and_check(AKONADI_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(AKONADI_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")
set_and_check(AKONADI_SHARE_DIR "@PACKAGE_SHARE_INSTALL_PREFIX@")
set_and_check(AKONADI_XDG_MIME_INSTALL_DIR "@PACKAGE_XDG_MIME_INSTALL_DIR@")
# the exports file exports
set(AKONADI_TARGET_PREFIX @AKONADI_TARGET_PREFIX@)
# Load the exported targets.
if(NOT TARGET Akonadi__akonadiprotocolinternals)
get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${_currentDir}/AkonadiTargetsWithPrefix.cmake")
endif()
macro(_akonadi_Set_Lib_Vars _prefix _lib)
set(AKONADI_${_prefix}_LIBRARIES ${AKONADI_TARGET_PREFIX}${_lib})
endmacro()
_akonadi_set_lib_vars(COMMON akonadiprotocolinternals)