forked from aspotashev/tesseract-ocr-cmake
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtesseractConfig.cmake.in
53 lines (44 loc) · 2.15 KB
/
tesseractConfig.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
# ===================================================================================
# The tesseract CMake configuration file
#
# ** File generated automatically, do not modify **
#
# Usage from an external project:
# In your CMakeLists.txt, add these lines:
#
# find_package(tesseract REQUIRED)
# include_directories(${tesseract_INCLUDE_DIRS})
# target_link_libraries(MY_TARGET_NAME ${tesseract_LIBRARIES})
#
# This file will define the following variables:
# - tesseract_LIBRARIES : The list of all imported targets
# - tesseract_INCLUDE_DIRS : The tesseract include directories.
# - tesseract_VERSION : The version of this tesseract build: "@tesseract_VERSION@"
# - tesseract_VERSION_MAJOR : Major version part of tesseract_VERSION: "@tesseract_VERSION_MAJOR@"
# - tesseract_VERSION_MINOR : Minor version part of tesseract_VERSION: "@tesseract_VERSION_MINOR@"
#
# ===================================================================================
if(@Leptonica_FOUND@)
SET(Leptonica_DIR "@Leptonica_DIR@")
FIND_PACKAGE(Leptonica)
endif()
INCLUDE(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
# ======================================================
# Version variables:
# ======================================================
SET(tesseract_VERSION @tesseract_VERSION@)
SET(tesseract_VERSION_MAJOR @tesseract_VERSION_MAJOR@)
SET(tesseract_VERSION_MINOR @tesseract_VERSION_MINOR@)
# ======================================================
# Include directories to add to the user project:
# ======================================================
# Provide the include directories to the caller
SET(tesseract_INCLUDE_DIRS @tesseract_INCLUDE_DIRS@)
# ====================================================================
# Link libraries:
# ====================================================================
SET(tesseract_LIBRARIES @tesseract_LIBRARIES@)
# ====================================================================
# Data directory:
# ====================================================================
SET(tesseract_DATA_DIR "@tesseract_DATA_DIR@")