diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt index 3a7826ad4e..7905872b80 100644 --- a/modules/highgui/CMakeLists.txt +++ b/modules/highgui/CMakeLists.txt @@ -292,7 +292,7 @@ endif() set_target_properties(${the_module} PROPERTIES LINK_INTERFACE_LIBRARIES "") ocv_add_precompiled_headers(${the_module}) -ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-deprecated-declarations) +ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-deprecated-declarations -Wno-clobbered) if(WIN32 AND WITH_FFMPEG) #copy ffmpeg dll to the output folder