diff --git a/modules/core/CMakeLists.txt b/modules/core/CMakeLists.txt index 73acbdd022..1306c3d9dc 100644 --- a/modules/core/CMakeLists.txt +++ b/modules/core/CMakeLists.txt @@ -81,10 +81,6 @@ if(HAVE_HPX) ocv_target_link_libraries(${the_module} LINK_PRIVATE "${HPX_LIBRARIES}") endif() -if(HAVE_CUDA) - ocv_target_compile_definitions(${the_module} PUBLIC OPENCV_TRAITS_ENABLE_DEPRECATED) -endif() - ocv_add_accuracy_tests() ocv_add_perf_tests()