Merge pull request #2832 from BRAINSia:20140605_Upstream
[profile/ivi/opencv.git] / modules / cuda / CMakeLists.txt
1 if(IOS OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
2   ocv_module_disable(cuda)
3 endif()
4
5 set(the_description "CUDA-accelerated Computer Vision")
6
7 ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4100 /wd4324 /wd4512 /wd4515 -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter)
8
9 ocv_define_module(cuda opencv_calib3d opencv_objdetect opencv_cudaarithm opencv_cudawarping OPTIONAL opencv_cudalegacy)