aboutsummaryrefslogtreecommitdiff
path: root/ports/selene
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-09-04 18:59:21 -0700
committerGitHub <noreply@github.com>2020-09-04 18:59:21 -0700
commitbb61fc16628994678ee3855008972a28797ba5a7 (patch)
tree419d508bdf29a0edd04976e9ece7f8aa43e332b8 /ports/selene
parentc41328a87c1436820f9e3dd2c970d407de52eaf7 (diff)
downloadvcpkg-bb61fc16628994678ee3855008972a28797ba5a7.tar.gz
vcpkg-bb61fc16628994678ee3855008972a28797ba5a7.zip
[blaze][ceres][clapack][geogram][lapack][lapack-reference][opencv4][selene] Fix deps issues (#13229)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/selene')
-rw-r--r--ports/selene/CONTROL7
-rw-r--r--ports/selene/portfile.cmake3
2 files changed, 9 insertions, 1 deletions
diff --git a/ports/selene/CONTROL b/ports/selene/CONTROL
index 03eeb9185..0a1ef5278 100644
--- a/ports/selene/CONTROL
+++ b/ports/selene/CONTROL
@@ -1,5 +1,10 @@
Source: selene
-Version: 0.3.1-2
+Version: 0.3.1
+Port-Version: 3
Homepage: https://github.com/kmhofmann/selene
Description: A C++17 image representation, processing and I/O library.
Build-Depends: zlib, libpng, libjpeg-turbo, tiff
+
+Feature: opencv
+Description: Enable using OpenCV
+Build-Depends: opencv[core]
diff --git a/ports/selene/portfile.cmake b/ports/selene/portfile.cmake
index e6a942885..703c3d2bc 100644
--- a/ports/selene/portfile.cmake
+++ b/ports/selene/portfile.cmake
@@ -10,9 +10,12 @@ vcpkg_from_github(
disable_x86_intrinsics_on_arm.patch
)
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS "opencv" SELENE_USE_OPENCV)
+
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
+ OPTIONS ${FEATURE_OPTIONS}
)
vcpkg_install_cmake()