-
Notifications
You must be signed in to change notification settings - Fork 1
/
OpenBeamConfig.cmake.in
52 lines (42 loc) · 2.1 KB
/
OpenBeamConfig.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
# ===================================================================================
# The OpenBeam CMake configuration file
#
# ** File generated automatically, do not modify **
#
# Usage from an external project:
# In your CMakeLists.txt, add these lines:
#
# find_package(OpenBeam REQUIRED )
# target_link_libraries(MY_TARGET_NAME ${OpenBeam_LIBS})
#
# This file will define the following variables:
# - OpenBeam_LIBS : The list of libraries to links against.
# - OpenBeam_INCLUDE_DIRS : The OpenBeam include directories.
#
# =================================================================================================
# Extract the directory where *this* file has been installed (determined at cmake run-time)
# This variable may or may not be used below, depending on the parsing of OpenBeamConfig.cmake
get_filename_component(THIS_OpenBeam_CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH)
# ======================================================
# Include directories to add to the user project:
# ======================================================
# Provide the include directories to the caller
set(OpenBeam_INCLUDE_DIRS @CMAKE_INCLUDE_DIRS_CONFIGCMAKE@)
include_directories(${OpenBeam_INCLUDE_DIRS})
# ======================================================
# Link directories to add to the user project:
# ======================================================
# Provide the libs directory anyway, it may be needed in some cases.
set(OpenBeam_LIB_DIR @CMAKE_LIB_DIRS_CONFIGCMAKE@)
link_directories(${OpenBeam_LIB_DIR})
# ====================================================================
# Link libraries:
# ====================================================================
set(OpenBeam_LIBS ${OpenBeam_LIBS} openbeam)
# ======================================================
# Version variables:
# ======================================================
set(OpenBeam_VERSION @OpenBeam_VERSION@)
set(OpenBeam_VERSION_MAJOR @OpenBeam_VERSION_MAJOR@)
set(OpenBeam_VERSION_MINOR @OpenBeam_VERSION_MINOR@)
set(OpenBeam_VERSION_PATCH @OpenBeam_VERSION_PATCH@)