Skip to content
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

Fix TARGET_PDB_FILE error for static linking. #4271

Merged

Conversation

hglee
Copy link
Contributor

@hglee hglee commented Jun 20, 2024

There is error with TARGET_PDB_FILE for static linking.

For example, if you build with vcpkg install tesseract:x64-windows-static , you will get this error:

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:libtesseract>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

I fixed this.

@egorpugin egorpugin merged commit 93c9be7 into tesseract-ocr:main Jun 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants