TesseractConfig.cmake.in 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. include(CMakeFindDependencyMacro)
  23. find_dependency(Leptonica)
  24. include(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
  25. @PACKAGE_INIT@
  26. SET(Tesseract_VERSION @VERSION_PLAIN@)
  27. SET(Tesseract_VERSION_MAJOR @VERSION_MAJOR@)
  28. SET(Tesseract_VERSION_MINOR @VERSION_MINOR@)
  29. SET(Tesseract_VERSION_PATCH @VERSION_PATCH@)
  30. set_and_check(Tesseract_INCLUDE_DIRS "@PACKAGE_INCLUDE_DIR@")
  31. set_and_check(Tesseract_LIBRARY_DIRS "@PACKAGE_LIBRARY_DIRS@")
  32. set(Tesseract_LIBRARIES @tesseract_OUTPUT_NAME@)
  33. check_required_components(Tesseract)