2012-06-29 01:28:27 +08:00
|
|
|
if(BUILD_ANDROID_PACKAGE)
|
|
|
|
ocv_module_disable(nonfree)
|
|
|
|
endif()
|
|
|
|
|
2012-03-15 22:36:01 +08:00
|
|
|
set(the_description "Functionality with possible limitations on the use")
|
2013-04-10 16:20:54 +08:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
|
2014-02-03 15:52:43 +08:00
|
|
|
if(ENABLE_DYNAMIC_CUDA)
|
|
|
|
add_definitions(-DDYNAMIC_CUDA_SUPPORT)
|
2013-12-27 15:18:10 +08:00
|
|
|
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)
|
2014-02-03 15:52:43 +08:00
|
|
|
endif()
|