-
Notifications
You must be signed in to change notification settings - Fork 38
/
DisCODeConfig.cmake.in
66 lines (52 loc) · 2.58 KB
/
DisCODeConfig.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# =[ DisCODeConfig.cmake ]======================================================
#
# The DisCODe CMake configuration file.
#
#
# !!! FILE GENERATED AUTOMATICALLY, DO NOT MODIFY !!!
#
#
# =[ Usage from an external project ]===========================================
#
# In your CMakeLists.txt, add these lines:
#
# FIND_PACKAGE(DisCODe REQUIRED )
# TARGET_LINK_LIBRARIES(MY_TARGET_NAME ${DisCODe_LIBS})
#
# =[ Defined variables ]========================================================
#
# DisCODe_LIBRARIES - the list of libraries to links against.
# DisCODe_LIB_DIR - the directory where lib files are.
# DisCODe_INCLUDE_DIRS - the OpenCV include directories.
# DisCODe_VERSION - the version of this DisCODe build. Example: "1.2.0"
# DisCODe_VERSION_MAJOR - major version part of DisCODe_VERSION. Example: "1"
# DisCODe_VERSION_MINOR - minor version part of DisCODe_VERSION. Example: "2"
# DisCODe_VERSION_PATCH - patch version part of DisCODe_VERSION. Example: "0"
#
# ==============================================================================
IF( DisCODe_FIND_COMPONENTS )
ELSE ( DisCODe_FIND_COMPONENTS )
# ==============================================================================
# Include directories to add to the user project:
# ==============================================================================
# Provide the include directories to the caller
SET(DisCODe_INCLUDE_DIRS @CMAKE_INCLUDE_DIRS_CONFIGCMAKE@)
INCLUDE_DIRECTORIES(${DisCODe_INCLUDE_DIRS})
# ==============================================================================
# Link directories to add to the user project:
# ==============================================================================
# Provide the libs directory anyway, it may be needed in some cases.
SET(DisCODe_LIB_DIR @CMAKE_LIB_DIRS_CONFIGCMAKE@)
LINK_DIRECTORIES(${DisCODe_LIB_DIR})
# ==============================================================================
# Link libraries: e.g. Common, Base etc.
# ==============================================================================
SET(DisCODe_LIBRARIES Common Base pthread rt)
# ==============================================================================
# Version variables:
# ==============================================================================
SET(DisCODe_VERSION @DISCODE_VERSION@)
SET(DisCODe_VERSION_MAJOR @DISCODE_VERSION_MAJOR@)
SET(DisCODe_VERSION_MINOR @DISCODE_VERSION_MINOR@)
SET(DisCODe_VERSION_PATCH @DISCODE_VERSION_PATCH@)
ENDIF ( DisCODe_FIND_COMPONENTS )