Suppress clang deprecated-non-prototype warnings for ZLIB sources

This commit is contained in:
SRSaunders 2024-08-05 11:09:37 -04:00
parent 4d15543a47
commit 9a3d78ca01

View file

@ -1534,6 +1534,7 @@ else()
# SRS - disable certain gcc/clang warnings for select third-party source libraries, consider updating versions in the future?
set_source_files_properties(
${ZLIB_SOURCES}
${MINIZIP_SOURCES}
PROPERTIES
COMPILE_FLAGS "-Wno-stringop-overread -Wno-deprecated-non-prototype"