Add feature halide to OpenCV. (#7499)

* Add feature halide to OpenCV.

* Add dependency of opencv[halide] to opencv[dnn].
This commit is contained in:
NiHoel 2019-08-02 22:32:27 +02:00 committed by Victor Romero
parent 63dd3a30fc
commit 2f74387d4c
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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)