mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-20 15:59:11 +08:00
cmake: fix copy&paste error
This commit is contained in:
parent
ebb214c443
commit
da084ea9e6
@ -358,8 +358,8 @@ else()
|
||||
# Check for optional libraries.
|
||||
find_package(TIFF) # for tesseractmain
|
||||
if(NOT TIFF_FOUND AND PKG_CONFIG_EXECUTABLE)
|
||||
# try PKG_CONFIG to find libarchive if cmake failed
|
||||
pkg_check_modules(LibArchive libarchive)
|
||||
# try PKG_CONFIG to find libtiff if cmake failed
|
||||
pkg_check_modules(TIFF libtiff-4)
|
||||
endif()
|
||||
if(TIFF_FOUND)
|
||||
set(HAVE_TIFFIO_H ON)
|
||||
|
Loading…
Reference in New Issue
Block a user