From 77e64e0df46bb7498be014b1005efd49c4ad7518 Mon Sep 17 00:00:00 2001
From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
Date: Fri, 26 May 2023 15:27:19 -0500
Subject: correct warning ignore match for zlib (#3021)

---
 config/cmake/CTestCustom.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/cmake/CTestCustom.cmake b/config/cmake/CTestCustom.cmake
index 6676ca6..30ff60f 100644
--- a/config/cmake/CTestCustom.cmake
+++ b/config/cmake/CTestCustom.cmake
@@ -23,6 +23,7 @@ set (CTEST_CUSTOM_WARNING_EXCEPTION
     "stamp.verify"
     "CMake Warning*stamp"
     "src.ZLIB.*:[ \t]*warning"
+    "src.HDF5_ZLIB.*:[ \t]*warning"
     "warning LNK4197:.*ZLIB-prefix"
     "src.SZIP.*:[ \t]*warning"
 #    "POSIX name for this item is deprecated"
@@ -36,6 +37,7 @@ set (CTEST_CUSTOM_WARNING_EXCEPTION
     ".*note.*expected.*void.*but argument is of type.*volatile.*"
     ".*src.SZIP.*:[ \t]*warning.*"
     ".*src.ZLIB.*:[ \t]*warning.*"
+    ".*src.HDF5_ZLIB.*:[ \t]*warning.*"
     ".*src.JPEG.*:[ \t]*warning.*"
     ".*POSIX name for this item is deprecated.*"
     ".*disabling jobserver mode.*"
-- 
cgit v0.12