mirror of https://github.com/microsoft/vcpkg.git
Add feature halide to OpenCV. (#7499)
* Add feature halide to OpenCV. * Add dependency of opencv[halide] to opencv[dnn].
This commit is contained in:
parent
63dd3a30fc
commit
2f74387d4c
|
|
@ -82,6 +82,10 @@ Feature: eigen
|
|||
Build-Depends: eigen3
|
||||
Description: Eigen support for opencv
|
||||
|
||||
Feature: halide
|
||||
Build-Depends: halide, opencv[dnn]
|
||||
Description: Halide support for opencv
|
||||
|
||||
Feature: world
|
||||
Description: Compile to a single package support for opencv
|
||||
|
||||
|
|
|
|||
|
|
@ -218,6 +218,11 @@ if("eigen" IN_LIST FEATURES)
|
|||
set(WITH_EIGEN ON)
|
||||
endif()
|
||||
|
||||
set(WITH_HALIDE OFF)
|
||||
if("halide" IN_LIST FEATURES)
|
||||
set(WITH_HALIDE ON)
|
||||
endif()
|
||||
|
||||
set(OPENCV_ENABLE_NONFREE OFF)
|
||||
if("nonfree" IN_LIST FEATURES)
|
||||
set(OPENCV_ENABLE_NONFREE ON)
|
||||
|
|
|
|||
Loading…
Reference in New Issue