mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
b3e18d23a3
Feature allows to exclude CUDA or OpenCL optimizations at all even CUDA is used on build. Exclusion of CUDA or OpenCL cut unwanted dependencies.
8 lines
296 B
CMake
8 lines
296 B
CMake
if(BUILD_ANDROID_PACKAGE)
|
|
ocv_module_disable(nonfree)
|
|
endif()
|
|
|
|
set(the_description "Functionality with possible limitations on the use")
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wshadow)
|
|
ocv_define_module(nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_cudaarithm)
|