4.x: drop DISABLE_OPENCV_24_COMPATIBILITY macro

not used in 4.x code
This commit is contained in:
Alexander Alekhin 2021-10-20 05:45:40 +00:00
parent b5a9a6793b
commit 805c2832c1

View File

@ -110,8 +110,6 @@ if(MSVC)
endif()
endif()
add_definitions(-DDISABLE_OPENCV_24_COMPATIBILITY=1) # Avoid C-like legacy API
if(OPENCV_EXAMPLES_DISABLE_THREADS)
# nothing
elseif(MSVC OR APPLE)