mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
5e116fa5ca
tesseract.pc.cmake was hardcoding libdir to `{prefix}/lib`, which is wrong for systems that use `/usr/lib64/` on 64-bit. `CMAKE_INSTALL_LIBDIR` is already expected to contain the libdir path relative to the install prefix.
14 lines
483 B
CMake
14 lines
483 B
CMake
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}/bin
|
|
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: @tesseract_NAME@
|
|
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
|
|
URL: https://github.com/tesseract-ocr/tesseract
|
|
Version: @tesseract_VERSION@
|
|
Requires.private: lept
|
|
Libs: -L${libdir} -l@tesseract_OUTPUT_NAME@ @libarchive_LIBS@ @libcurl_LIBS@ @TENSORFLOW_LIBS@
|
|
Libs.private:
|
|
Cflags: -I${includedir}
|