Skip to content

Commit

Permalink
Merge pull request #22 from shimat/4.8
Browse files Browse the repository at this point in the history
4.8
  • Loading branch information
shimat authored Jul 7, 2023
2 parents cae10aa + e81d213 commit dae576b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [synchronize, opened]

env:
OPENCV_VERSION: 4.7.0
OPENCV_VERSION: 4.8.0

jobs:
build:
Expand Down Expand Up @@ -36,12 +36,10 @@ jobs:
uses: microsoft/[email protected]

- name: Setup vcpkg
uses: lukka/run-vcpkg@v10.0
uses: lukka/run-vcpkg@v11.1
if: ${{ matrix.platform == 'win' }}
with:
# https:/shimat/vcpkg/commit/faed44dfa013088fe1910908a8a65887622f412f
#vcpkgGitCommitId: 9502b2044d7fbe7a885f824f58e0b672e8b74886
vcpkgGitCommitId: faed44dfa013088fe1910908a8a65887622f412f
vcpkgGitCommitId: "64adda19c86e89526b5e27703a193c14477cce07"
vcpkgGitURL: https:/shimat/vcpkg.git

- name: Vcpkg
Expand Down
9 changes: 8 additions & 1 deletion build_uwp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ function BuildForUWP($platform, $vcpkgPath, $runMsbuild) {
else {
$msbuildPlatform = $platform # x64/ARM/ARM64
}

if ($platform -eq "ARM") {
$withOpenJPEG = "OFF"
}
else {
$withOpenJPEG = "ON"
}

cmake -G "Visual Studio 17 2022" `
-A $msbuildPlatform `
Expand Down Expand Up @@ -48,7 +55,7 @@ function BuildForUWP($platform, $vcpkgPath, $runMsbuild) {
-D BUILD_OPENJPEG=ON `
-D ENABLE_LIBJPEG_TURBO_SIMD=OFF `
-D WITH_JPEG=OFF `
-D WITH_OPENJPEG=ON `
-D WITH_OPENJPEG=$withOpenJPEG `
-D old-jpeg=ON `
-D Tesseract_INCLUDE_DIR="${vcpkgPath}/installed/${platform}-windows-static/include/tesseract" `
-D Tesseract_LIBRARY="${vcpkgPath}/installed/${platform}-windows-static/lib/tesseract41.lib" `
Expand Down
2 changes: 1 addition & 1 deletion opencv
Submodule opencv updated 818 files
2 changes: 1 addition & 1 deletion opencv_contrib
Submodule opencv_contrib updated 114 files

0 comments on commit dae576b

Please sign in to comment.