-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tesseract: fix imported target / system libs / interface definition #4872
tesseract: fix imported target / system libs / interface definition #4872
Conversation
official imported target is libtesseract (without namespace)
- don't remove CONFIG from find_package(Leptonica), it's the proper way to find Leptonica, we just need to add cmake_find_package_multi - leptonica is the official imported target of Leptonica
You can deduce official imported target from this line (no NAMESPACE property during export): https://github.com/tesseract-ocr/tesseract/blob/75103040c94ffd7fe5e4e3dfce0a7e67a8420849/CMakeLists.txt#L542 TESS_IMPORTS interface definition if shared: |
Oh yes I see, there is warning about this option. Let's fix it in another PR. |
All green in build 1 (
|
for tesseract executable
As from 5.0.0, this imported target should be the official one
20facee
to
ecaf102
Compare
|
All green in build 5 (
|
this will allow testing it in a preview wihtout opening an issue
Specify library name and version: lib/1.0
conan-center hook activated.
Also, if not already fixed, this new revision closes #4848