Closed hglee closed 2 weeks ago
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:
vcpkg install tesseract:x64-windows-static
CMake Error: Error evaluating generator expression: $<TARGET_PDB_FILE:libtesseract> TARGET_PDB_FILE is allowed only for targets with linker created artifacts.
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.
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:I fixed this.