diff options
Diffstat (limited to 'vcpkg/ports/tesseract/fix-link-include-path.patch')
| -rw-r--r-- | vcpkg/ports/tesseract/fix-link-include-path.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/tesseract/fix-link-include-path.patch b/vcpkg/ports/tesseract/fix-link-include-path.patch new file mode 100644 index 0000000..1415494 --- /dev/null +++ b/vcpkg/ports/tesseract/fix-link-include-path.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 68da6c5..781fb97 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -820,7 +820,8 @@ target_include_directories( + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/textord> + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/viewer> + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/wordrec> +- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/training>) ++ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/training> ++ $<INSTALL_INTERFACE:include>) + if(BUILD_SHARED_LIBS) + target_compile_definitions( + libtesseract |