cmake: fix copy&paste error

This commit is contained in:
zdenop 2021-09-25 12:26:06 +02:00
parent ebb214c443
commit da084ea9e6

View File

@ -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)