# =================================================================================== # The Leptonica CMake configuration file # # ** File generated automatically, do not modify ** # # Usage from an external project: # In your CMakeLists.txt, add these lines: # # find_package(Leptonica REQUIRED) # include_directories(${Leptonica_INCLUDE_DIRS}) # target_link_libraries(MY_TARGET_NAME ${Leptonica_LIBRARIES}) # # This file will define the following variables: # - Leptonica_LIBRARIES : The list of all imported targets for OpenCV modules. # - Leptonica_INCLUDE_DIRS : The Leptonica include directories. # - Leptonica_VERSION : The version of this Leptonica build: "@VERSION_PLAIN@" # - Leptonica_VERSION_MAJOR : Major version part of Leptonica_VERSION: "@VERSION_MAJOR@" # - Leptonica_VERSION_MINOR : Minor version part of Leptonica_VERSION: "@VERSION_MINOR@" # - Leptonica_VERSION_PATCH : Patch version part of Leptonica_VERSION: "@VERSION_PATCH@" # # =================================================================================== include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake) # ====================================================== # Version variables: # ====================================================== SET(Leptonica_VERSION @VERSION_PLAIN@) SET(Leptonica_VERSION_MAJOR @VERSION_MAJOR@) SET(Leptonica_VERSION_MINOR @VERSION_MINOR@) SET(Leptonica_VERSION_PATCH @VERSION_PATCH@) # ====================================================== # Include directories to add to the user project: # ====================================================== # Provide the include directories to the caller set(Leptonica_INCLUDE_DIRS "@INCLUDE_DIR@") # ==================================================================== # Link libraries: # ==================================================================== set(Leptonica_LIBRARIES @leptonica_NAME@)