cmake: disable override warnings in 3rdparty code and viz

This commit is contained in:
Alexander Alekhin
2018-03-15 16:04:21 +03:00
parent 773877cd12
commit 0587f92d96
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ if(NOT BUILD_SHARED_LIBS)
endif()
endif()
ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override -Wsuggest-override)
ocv_define_module(viz opencv_core WRAP python)
ocv_target_link_libraries(${the_module} LINK_PRIVATE ${VTK_LIBRARIES})