Я установил в Windows, Tesseract, используя "Windows Установщик, сделанный с MinGW-w64 из UB Mannheim" из здесь , и добавил в мой CMakeLists.txt:
find_package (Тессеракт ТРЕБУЕТСЯ)
но я получаю
CMake Error at CMakeLists.txt:14 (find_package):
By not providing "FindTesseract.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Tesseract", but CMake did not find one.
Could not find a package configuration file provided by "Tesseract"
(requested version 4.0) with any of the following names:
TesseractConfig.cmake
tesseract-config.cmake
Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set
"Tesseract_DIR" to a directory containing one of the above files. If
"Tesseract" provides a separate development package or SDK, be sure it has
been installed.
Я пытался добавить
set (CMAKE_PREFIX_PATH "C:\\Users\\LZ\\Downloads\\tesseract-4.0.0-alpha")
, но это не помогает. А также в этой папке установки нет TesseractConfig.cmake
или tesseract-config.cmake