mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
GA: use png 1.6.39 from cmake-win64
This commit is contained in:
parent
b7319c26f9
commit
4ebaa4bffb
6
.github/workflows/cmake-win64.yml
vendored
6
.github/workflows/cmake-win64.yml
vendored
@ -46,9 +46,9 @@ jobs:
|
||||
- name: Build and Install libpng
|
||||
shell: cmd
|
||||
run: |
|
||||
curl -sSL -o lpng1637.zip https://download.sourceforge.net/libpng/lpng1637.zip
|
||||
unzip.exe -qq lpng1637.zip
|
||||
cd lpng1637
|
||||
curl -sSL -o lpng1639.zip https://download.sourceforge.net/libpng/lpng1639.zip
|
||||
unzip.exe -qq lpng1639.zip
|
||||
cd lpng1639
|
||||
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DPNG_TESTS=OFF -DPNG_SHARED=OFF
|
||||
cmake --build build --config Release --target install
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user