Merge pull request #20908 from alalek:4.x_drop_legacy

pull/20921/head
Alexander Alekhin 3 years ago
commit 4176a0ade3
  1. 2
      samples/CMakeLists.txt

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

Loading…
Cancel
Save