diff --git a/modules/cudacodec/CMakeLists.txt b/modules/cudacodec/CMakeLists.txt index 071404ecc..c1b9ee936 100644 --- a/modules/cudacodec/CMakeLists.txt +++ b/modules/cudacodec/CMakeLists.txt @@ -6,7 +6,7 @@ set(the_description "CUDA-accelerated Video Encoding/Decoding") ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wshadow) -ocv_add_module(cudacodec opencv_core opencv_videoio OPTIONAL opencv_cudev WRAP python) +ocv_add_module(cudacodec opencv_core opencv_videoio opencv_cudaarithm OPTIONAL opencv_cudev WRAP python) ocv_module_include_directories() ocv_glob_module_sources()