Skip to content

Commit

Permalink
[opencv3] fix webp include dir (#31054)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Apr 25, 2023
1 parent 580f143 commit 846790c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
13 changes: 13 additions & 0 deletions ports/opencv3/0003-force-package-requirements.patch
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,16 @@
if(NOT GDCM_FOUND)
set(HAVE_GDCM NO)
ocv_clear_vars(GDCM_VERSION GDCM_LIBRARIES)
diff --git a/modules/imgcodecs/CMakeLists.txt b/modules/imgcodecs/CMakeLists.txt
index 213667a..4052387 100644
--- a/modules/imgcodecs/CMakeLists.txt
+++ b/modules/imgcodecs/CMakeLists.txt
@@ -24,7 +24,7 @@ endif()

if(HAVE_WEBP)
add_definitions(-DHAVE_WEBP)
- ocv_include_directories(${WEBP_INCLUDE_DIR})
+ ocv_include_directories(${WEBP_INCLUDE_DIRS})
list(APPEND GRFMT_LIBS ${WEBP_LIBRARIES})
endif()

9 changes: 8 additions & 1 deletion ports/opencv3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "opencv3",
"version": "3.4.18",
"port-version": 8,
"port-version": 9,
"description": "Open Source Computer Vision Library",
"homepage": "https://github.com/opencv/opencv",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -229,6 +229,13 @@
"python": {
"description": "Python wrapper support for opencv",
"dependencies": [
{
"name": "opencv3",
"default-features": false,
"features": [
"flann"
]
},
"python3"
]
},
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5802,7 +5802,7 @@
},
"opencv3": {
"baseline": "3.4.18",
"port-version": 8
"port-version": 9
},
"opencv4": {
"baseline": "4.7.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opencv3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "402e9aac0f32db08e2d69f70ba6384f8c7bf4733",
"version": "3.4.18",
"port-version": 9
},
{
"git-tree": "e026bd638aec52f279cbf10d7e75a0f6ca03feb6",
"version": "3.4.18",
Expand Down

0 comments on commit 846790c

Please sign in to comment.