Merge pull request #923 from SRSaunders/zlib-warnings

Suppress clang deprecated-non-prototype warnings for ZLIB sources
This commit is contained in:
Robert Beckebans 2024-08-05 17:33:05 +02:00 committed by GitHub
commit 802075fdf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"