mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Use find_dependency instead of find_package
This commit is contained in:
parent
66175f9745
commit
30e2516337
@ -15,9 +15,10 @@
|
||||
#
|
||||
# ===================================================================================
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/tesseract/TesseractTargets.cmake)
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(Leptonica)
|
||||
|
||||
find_package(Leptonica REQUIRED)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/tesseract/TesseractTargets.cmake)
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user