mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-11 15:09:03 +08:00
44 lines
1.8 KiB
CMake
44 lines
1.8 KiB
CMake
|
# ===================================================================================
|
||
|
# 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 for OpenCV modules.
|
||
|
# - Tesseract_INCLUDE_DIRS : The Tesseract include directories.
|
||
|
# - Tesseract_VERSION : The version of this Tesseract build: "@VERSION_PLAIN@"
|
||
|
# - Tesseract_VERSION_MAJOR : Major version part of Tesseract_VERSION: "@VERSION_MAJOR@"
|
||
|
# - Tesseract_VERSION_MINOR : Minor version part of Tesseract_VERSION: "@VERSION_MINOR@"
|
||
|
#
|
||
|
# ===================================================================================
|
||
|
|
||
|
include(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
|
||
|
|
||
|
# ======================================================
|
||
|
# Version variables:
|
||
|
# ======================================================
|
||
|
|
||
|
SET(Tesseract_VERSION @VERSION_PLAIN@)
|
||
|
SET(Tesseract_VERSION_MAJOR @VERSION_MAJOR@)
|
||
|
SET(Tesseract_VERSION_MINOR @VERSION_MINOR@)
|
||
|
|
||
|
# ======================================================
|
||
|
# Include directories to add to the user project:
|
||
|
# ======================================================
|
||
|
|
||
|
# Provide the include directories to the caller
|
||
|
set(Tesseract_INCLUDE_DIRS @INCLUDE_DIR@)
|
||
|
|
||
|
# ====================================================================
|
||
|
# Link libraries:
|
||
|
# ====================================================================
|
||
|
|
||
|
set(Tesseract_LIBRARIES tesseract)
|