Skip to content

Commit cbef2eb

Browse files
committed
implement patches vcpkg tesseract
1 parent 7a7f226 commit cbef2eb

File tree

3 files changed

+3
-323
lines changed

3 files changed

+3
-323
lines changed

cmake/FindICU.cmake

-323
This file was deleted.

cmake/templates/TesseractConfig.cmake.in

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
include(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
2323

24+
find_package(Leptonica REQUIRED)
25+
2426
# ======================================================
2527
# Version variables:
2628
# ======================================================

src/viewer/svutil.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <cstdio>
2424
#ifdef _WIN32
2525
#include <windows.h>
26+
#pragma comment(lib, "Ws2_32.lib")
2627
struct addrinfo {
2728
struct sockaddr* ai_addr;
2829
int ai_addrlen;

0 commit comments

Comments
 (0)