Skip to content

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
@hglee hglee deleted the fix-static-linking-TARGET_PDB_FILE branch August 27, 2025 22:37
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