From 9a3d78ca01a694fbb3b280f4242f8bd78a267dcf Mon Sep 17 00:00:00 2001 From: SRSaunders <82544213+SRSaunders@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:09:37 -0400 Subject: [PATCH] Suppress clang deprecated-non-prototype warnings for ZLIB sources --- neo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index f32beb7c..0af02487 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -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"