Commit 25e4fb2e for tesseract

commit 25e4fb2e3d17e1a82a0c27950335573b50f8693e
Author: zdenop <zdenop@gmail.com>
Date:   Wed Jul 29 19:21:57 2026 +0200

    Github Action | cmake-win64: enable to build training tools

diff --git a/.github/workflows/cmake-win64.yml b/.github/workflows/cmake-win64.yml
index 68c30063..620b43ee 100644
--- a/.github/workflows/cmake-win64.yml
+++ b/.github/workflows/cmake-win64.yml
@@ -1,5 +1,4 @@
-# Based on https://github.com/zdenop/tesserocr/actions/runs/691257659/workflow
-# Build Tesseract on Windows using cmake. No Training Tools.
+# Build Tesseract on Windows using cmake.
 name: cmake-win64
 on:
   push:
@@ -47,6 +46,12 @@ jobs:
       #- name: Uninstall Perl
       #  run: |
       #    choco uninstall strawberryperl
+      - name: Install ICU
+        id: get_icu
+        shell: cmd
+        run: |
+          curl -L -o icu.zip https://github.com/unicode-org/icu/releases/download/release-78.3/icu4c-78.3-Win64-MSVC2022.zip
+          powershell -Command "Expand-Archive icu.zip -DestinationPath %ILOC%"

       - name: Build and Install zlib-ng
         shell: cmd
@@ -111,7 +116,7 @@ jobs:
       - name: Build and Install tesseract
         shell: cmd
         run: |
-             cmake -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DBUILD_SHARED_LIBS=ON -DENABLE_LTO=ON -DBUILD_TRAINING_TOOLS=ON -DFAST_FLOAT=ON -DGRAPHICS_DISABLED=ON -DOPENMP_BUILD=OFF
+             cmake -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=${{env.ILOC}};${{env.ILOC}}\icu;${{steps.get_icu.outputs.ICU_ROOT}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DBUILD_SHARED_LIBS=ON -DENABLE_LTO=ON -DBUILD_TRAINING_TOOLS=ON -DFAST_FLOAT=ON -DGRAPHICS_DISABLED=ON -DOPENMP_BUILD=OFF
              cmake --build build --target install

       - name: Upload Build Results