CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement

This commit is contained in:
Alexander Alekhin 2018-09-02 03:31:05 +00:00 committed by Hamdi Sahloul
parent 9524abcd28
commit 8f6695acc7

View File

@ -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()