aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshelper <shelper@users.noreply.github.com>2020-05-01 02:00:23 -0400
committerGitHub <noreply@github.com>2020-04-30 23:00:23 -0700
commit3a1e8e01f57ab54559a588cb4cd9442a2f27b6c8 (patch)
treee96462b8e9686c6df178703c25ee5e920d387c28
parent7db2ffa0b0aa36113a8c72f2e1815f540f4c2b92 (diff)
downloadvcpkg-3a1e8e01f57ab54559a588cb4cd9442a2f27b6c8.tar.gz
vcpkg-3a1e8e01f57ab54559a588cb4cd9442a2f27b6c8.zip
[opencv4] Add GTK support for opencv4 (#10886)
-rw-r--r--ports/opencv4/CONTROL6
-rw-r--r--ports/opencv4/portfile.cmake1
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/opencv4/CONTROL b/ports/opencv4/CONTROL
index fc09aaecc..6ffd8c699 100644
--- a/ports/opencv4/CONTROL
+++ b/ports/opencv4/CONTROL
@@ -1,5 +1,5 @@
Source: opencv4
-Version: 4.1.1-3
+Version: 4.1.1-4
Build-Depends: protobuf, zlib
Homepage: https://github.com/opencv/opencv
Description: computer vision library
@@ -95,3 +95,7 @@ Description: Halide support for opencv
Feature: world
Description: Compile to a single package support for opencv
+
+Feature: gtk
+Build-Depends: gtk
+Description: gtk support for opencv
diff --git a/ports/opencv4/portfile.cmake b/ports/opencv4/portfile.cmake
index fdd75dcf1..ee5327ac6 100644
--- a/ports/opencv4/portfile.cmake
+++ b/ports/opencv4/portfile.cmake
@@ -46,6 +46,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"tiff" WITH_TIFF
"webp" WITH_WEBP
"world" BUILD_opencv_world
+ "gtk" WITH_GTK
)
# Cannot use vcpkg_check_features() for "ipp", "ovis", "tbb", and "vtk".