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")
|
2014-02-14 21:56:03 +08:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wshadow)
|
2014-02-03 15:52:43 +08:00
|
|
|
if(ENABLE_DYNAMIC_CUDA)
|
|
|
|
add_definitions(-DDYNAMIC_CUDA_SUPPORT)
|
2014-03-05 15:25:27 +08:00
|
|
|
ocv_define_module(nonfree EXCLUDE_CUDA opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_ocl)
|
2013-12-27 15:18:10 +08:00
|
|
|
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()
|