comparison mupdf-source/thirdparty/tesseract/cmake/templates/TesseractConfig.cmake.in @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 # ===================================================================================
2 # The Tesseract CMake configuration file
3 #
4 # ** File generated automatically, do not modify **
5 #
6 # Usage from an external project:
7 # In your CMakeLists.txt, add these lines:
8 #
9 # find_package(Tesseract REQUIRED)
10 # target_link_libraries(MY_TARGET_NAME Tesseract::libtesseract)
11 #
12 # This file will define the following variables:
13 # - Tesseract_LIBRARIES : The list of all imported targets.
14 # - Tesseract_INCLUDE_DIRS : The Tesseract include directories.
15 # - Tesseract_LIBRARY_DIRS : The Tesseract library directories.
16 # - Tesseract_VERSION : The version of this Tesseract build: "@VERSION_PLAIN@"
17 # - Tesseract_VERSION_MAJOR : Major version part of Tesseract_VERSION: "@VERSION_MAJOR@"
18 # - Tesseract_VERSION_MINOR : Minor version part of Tesseract_VERSION: "@VERSION_MINOR@"
19 # - Tesseract_VERSION_PATCH : Patch version part of Tesseract_VERSION: "@VERSION_PATCH@"
20 #
21 # ===================================================================================
22
23 include(CMakeFindDependencyMacro)
24 find_dependency(Leptonica)
25
26 include(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
27
28 @PACKAGE_INIT@
29
30 SET(Tesseract_VERSION @VERSION_PLAIN@)
31 SET(Tesseract_VERSION_MAJOR @VERSION_MAJOR@)
32 SET(Tesseract_VERSION_MINOR @VERSION_MINOR@)
33 SET(Tesseract_VERSION_PATCH @VERSION_PATCH@)
34
35 set_and_check(Tesseract_INCLUDE_DIRS "@PACKAGE_INCLUDE_DIR@")
36 set_and_check(Tesseract_LIBRARY_DIRS "@PACKAGE_LIBRARY_DIRS@")
37 set(Tesseract_LIBRARIES @tesseract_OUTPUT_NAME@)
38
39 check_required_components(Tesseract)