From 8f6695acc7e3d8dd8648c12a1858b52c5246518b Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 2 Sep 2018 03:31:05 +0000 Subject: [PATCH] CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement --- modules/core/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) 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()