From 8c84763ed306a3b2bf85f82a3d4487bad77ddc90 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sat, 19 Aug 2017 16:05:32 +0000 Subject: [PATCH] vtk: eliminate 'override' build warning --- modules/viz/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/viz/CMakeLists.txt b/modules/viz/CMakeLists.txt index ddeccf15f6..a5468c5bba 100644 --- a/modules/viz/CMakeLists.txt +++ b/modules/viz/CMakeLists.txt @@ -24,6 +24,8 @@ if(NOT BUILD_SHARED_LIBS) endif() endif() +ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override) + ocv_define_module(viz opencv_core WRAP python) ocv_target_link_libraries(${the_module} LINK_PRIVATE ${VTK_LIBRARIES})