From 805c2832c19b4d8d281561338739ae96e014a328 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 20 Oct 2021 05:45:40 +0000 Subject: [PATCH] 4.x: drop DISABLE_OPENCV_24_COMPATIBILITY macro not used in 4.x code --- samples/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 9d8f588083..8b1907f380 100644 --- a/samples/CMakeLists.txt +++ b/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)