Commit Graph

6 Commits

Author SHA1 Message Date
Zopolis4
2991d36a8b Make regular usage of CMAKE_INSTALL_LIBDIR and GNUInstallDirs 2024-06-21 13:09:20 +02:00
Frank Dana
5e116fa5ca
Fix libdir in tesseract.pc from CMake
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.
2023-02-02 19:57:59 -05:00
Jeroen Ooms
9ac78f94d9
Fix tesseract.pc from cmake to match autotools 2022-09-23 12:21:15 +02:00
Stefan Weil
41c3e93cb7 Add missing libraries in configuration for pkg-config
This fixes linker errors in third-party software like tesserocr for builds
which use any of these libraries.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-11-02 19:00:05 +01:00
Stefan Weil
c1c87d73ee Require tesseract/ for API header files (fixes potential name conflicts)
The tesseract/ subdirectory is no longer automatically added to the
include path of the compiler. Therefore old code which used code like

    #include "capi.h"

must now change that to

    #include "tesseract/capi.h"

This avoids name conflicts with header files from other projects.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-17 22:01:19 +02:00
Aleksey Nikolaev
6641989866 Cmake install 2017-04-20 14:50:53 +03:00