1 if(IOS OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
2 ocv_module_disable(cudaarithm)
5 set(the_description "CUDA-accelerated Operations on Matrices")
7 ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
9 ocv_add_module(cudaarithm opencv_core OPTIONAL opencv_cudev)
11 ocv_module_include_directories()
12 ocv_glob_module_sources()
17 list(APPEND extra_libs ${CUDA_cublas_LIBRARY})
21 list(APPEND extra_libs ${CUDA_cufft_LIBRARY})
24 ocv_create_module(${extra_libs})
26 ocv_add_precompiled_headers(${the_module})
28 ocv_add_accuracy_tests(DEPENDS_ON opencv_imgproc)
29 ocv_add_perf_tests(DEPENDS_ON opencv_imgproc)