1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

build: enable -Wimplicit-fallthrough warning for OpenCV modules

This commit is contained in:
Alexander Alekhin
2018-04-19 19:54:03 +03:00
parent 647eb243ae
commit 12e8e33144
17 changed files with 30 additions and 8 deletions
+1
View File
@@ -82,6 +82,7 @@ set_target_properties(${ZLIB_LIBRARY} PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
ocv_warnings_disable(CMAKE_C_FLAGS -Wshorten-64-to-32 -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshift-negative-value
-Wundef # _LFS64_LARGEFILE is not defined
/wd4267 # MSVS 2015 (x64) + zlib 1.2.11
-Wimplicit-fallthrough
)
set_target_properties(${ZLIB_LIBRARY} PROPERTIES