mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
12 lines
452 B
CMake
12 lines
452 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)
|
|
if (ENABLE_DYNAMIC_CUDA)
|
|
set(HAVE_CUDA FALSE)
|
|
ocv_define_module(nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_ocl)
|
|
else()
|
|
ocv_define_module(nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_gpu opencv_ocl)
|
|
endif() |