mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-05 02:47:00 +08:00
commit
2308cbf87f
@ -151,7 +151,7 @@ if(CPPAN_BUILD)
|
||||
add_subdirectory(.cppan)
|
||||
else()
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_EXECUTABLE and NOT Leptonica_DIR)
|
||||
if(PKG_CONFIG_EXECUTABLE AND NOT Leptonica_DIR)
|
||||
pkg_check_modules(Leptonica REQUIRED lept>=${MINIMUM_LEPTONICA_VERSION})
|
||||
link_directories(${Leptonica_LIBRARY_DIRS})
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user