comparison mupdf-source/thirdparty/leptonica/cmake/templates/LeptonicaConfig.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 Leptonica 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(Leptonica REQUIRED)
10 # include_directories(${Leptonica_INCLUDE_DIRS})
11 # target_link_libraries(MY_TARGET_NAME ${Leptonica_LIBRARIES})
12 #
13 # This file will define the following variables:
14 # - Leptonica_LIBRARIES : The list of all imported targets for OpenCV modules.
15 # - Leptonica_INCLUDE_DIRS : The Leptonica include directories.
16 # - Leptonica_VERSION : The version of this Leptonica build: "@PROJECT_VERSION@"
17 # - Leptonica_VERSION_MAJOR : Major version part of Leptonica_VERSION: "@PROJECT_VERSION_MAJOR@"
18 # - Leptonica_VERSION_MINOR : Minor version part of Leptonica_VERSION: "@PROJECT_VERSION_MINOR@"
19 # - Leptonica_VERSION_PATCH : Patch version part of Leptonica_VERSION: "@PROJECT_VERSION_PATCH@"
20 #
21 # ===================================================================================
22
23 include(CMakeFindDependencyMacro)
24 if (@OPENJPEG_SUPPORT@)
25 find_dependency(OpenJPEG CONFIG)
26 endif()
27 if (@LIBWEBP_SUPPORT@)
28 find_dependency(WebP @MINIMUM_WEBPMUX_VERSION@ CONFIG)
29 endif()
30
31 include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake)
32
33 # ======================================================
34 # Version variables:
35 # ======================================================
36
37 SET(Leptonica_VERSION @leptonica_VERSION@)
38 SET(Leptonica_VERSION_MAJOR @leptonica_VERSION_MAJOR@)
39 SET(Leptonica_VERSION_MINOR @leptonica_VERSION_MINOR@)
40 SET(Leptonica_VERSION_PATCH @leptonica_VERSION_PATCH@)
41
42 # ======================================================
43 # Include directories to add to the user project:
44 # ======================================================
45
46 # Provide the include directories to the caller
47 set(Leptonica_INCLUDE_DIRS "@INCLUDE_DIR@")
48
49 # ====================================================================
50 # Link libraries:
51 # ====================================================================
52
53 set(Leptonica_LIBRARIES @leptonica_NAME@)