2012-06-28 17:28:27 +00:00
|
|
|
if(BUILD_ANDROID_PACKAGE)
|
|
|
|
ocv_module_disable(nonfree)
|
|
|
|
endif()
|
|
|
|
|
2012-03-15 14:36:01 +00:00
|
|
|
set(the_description "Functionality with possible limitations on the use")
|
2014-02-14 17:56:03 +04:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wshadow)
|
2014-02-03 11:52:43 +04:00
|
|
|
if(ENABLE_DYNAMIC_CUDA)
|
|
|
|
add_definitions(-DDYNAMIC_CUDA_SUPPORT)
|
2014-03-05 11:25:27 +04:00
|
|
|
ocv_define_module(nonfree EXCLUDE_CUDA opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_ocl)
|
2013-12-27 11:18:10 +04:00
|
|
|
else()
|
|
|
|
ocv_define_module(nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_gpu opencv_ocl)
|
2014-02-03 11:52:43 +04:00
|
|
|
endif()
|