mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Fix Linux build with Leptonica_BUILD_DIR.
This commit is contained in:
parent
dfb5aa5c34
commit
0788098b80
@ -49,6 +49,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.71)
|
||||
if (NOT Leptonica_BUILD_DIR)
|
||||
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED)
|
||||
else()
|
||||
set(Leptonica_DIR ${Leptonica_BUILD_DIR})
|
||||
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user