File: KaduConfig.cmake.in

package info (click to toggle)
kadu 4.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 54,532 kB
  • sloc: cpp: 128,331; sh: 988; awk: 105; makefile: 75
file content (60 lines) | stat: -rw-r--r-- 2,182 bytes parent folder | download | duplicates (2)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@PACKAGE_INIT@

set (KADU_VERSION "@KADU_VERSION@")

set (KADU_INSTALL_SDK_DIR "@RELATIVE_INSTALL_SDK_DIR@")
set (KADU_INSTALL_BIN_DIR "@RELATIVE_INSTALL_BIN_DIR@")
set (KADU_INSTALL_LIB_DIR "@RELATIVE_INSTALL_LIB_DIR@")
set (KADU_INSTALL_DATA_DIR "@RELATIVE_INSTALL_DATA_DIR@")
set (KADU_INSTALL_PLUGINS_DATA_DIR "@RELATIVE_INSTALL_PLUGINS_DATA_DIR@")
set (KADU_INSTALL_PLUGINS_LIB_DIR "@RELATIVE_INSTALL_PLUGINS_LIB_DIR@")
set (KADU_INSTALL_INCLUDE_DIR "@RELATIVE_INSTALL_INCLUDE_DIR@")
set (KADU_INSTALL_CMAKE_DIR "@RELATIVE_INSTALL_CMAKE_DIR@")
set (KADU_FULL_INSTALL_CMAKE_DIR "@CMAKE_INSTALL_PREFIX@/@RELATIVE_INSTALL_CMAKE_DIR@" )

if (UNIX AND NOT APPLE)
	set (KADU_DESKTOP_FILE_DIR "@PACKAGE_DESKTOP_FILE_DIR@")
	set (KADU_DESKTOP_FILE_NAME "@DESKTOP_FILE_NAME@")
endif ()

set (KADU_INCLUDE_DIR "@PACKAGE_INCLUDE_DIR@")
set (KADU_INCLUDE_DIRS "@PACKAGE_INCLUDE_DIR@" "@PACKAGE_INCLUDE_DIR@/kadu-core")
set (KADU_SDK_DIR "@PACKAGE_SDK_DIR@")
set (KADU_INSTALL_PREFIX "@PACKAGE_KADU_INSTALL_PREFIX@")

set (KADU_INSTALL_SDK "@INSTALL_SDK@")

set (KADU_C_FLAGS "@C_FLAGS@")
set (KADU_CXX_FLAGS "@CXX_FLAGS@")
set (KADU_COMPILE_FLAGS "@COMMON_COMPILE_FLAGS@")
set (KADU_LINK_FLAGS "@LINK_FLAGS@")
set (KADU_DEFINITIONS "@DEFINITIONS@")
set (KADU_DEFINITIONS_DEBUG "@DEFINITIONS_DEBUG@")

if (NOT DEFINED CMAKE_CONFIGURATION_TYPES)
	set (KADU_BUILD_TYPE "@CMAKE_BUILD_TYPE@")
endif ()

get_filename_component (_real_current_list_dir "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
get_filename_component (_real_binary_dir "${CMAKE_BINARY_DIR}" REALPATH)
if (_real_current_list_dir STREQUAL _real_binary_dir)
	# In build tree.
	set (KADU_BUILD TRUE)

	include ("${CMAKE_SOURCE_DIR}/cmake/KaduMacros.cmake")
else ()
	# In installation tree.
	set (KADU_BUILD FALSE)

	if (NOT TARGET libkadu)
		set (KADU_WITH_LIBINDICATE_QT "@KADU_WITH_LIBINDICATE_QT@")
		set (KADU_INSTALL_UNOFFICIAL_TRANSLATIONS "@KADU_INSTALL_UNOFFICIAL_TRANSLATIONS@")
		set (KADU_ENABLED_LANGUAGES "@KADU_ENABLED_LANGUAGES@")

		include ("${CMAKE_CURRENT_LIST_DIR}/KaduTargets.cmake")
		include ("${CMAKE_CURRENT_LIST_DIR}/KaduMacros.cmake")
	endif ()
endif ()

set (KADU_LIBRARIES libkadu)
set (KADU_EXECUTABLE kadu)