diff --git a/cmake/CTestCustom.cmake.in b/cmake/CTestCustom.cmake.in index e04ba593..a19c2913 100644 --- a/cmake/CTestCustom.cmake.in +++ b/cmake/CTestCustom.cmake.in @@ -28,7 +28,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION # Suppress warning caused by intentional messages about deprecation ".*warning,.* is deprecated" # java also warns about deprecated API - "java.*deprecation" + ".*java.*deprecation" # supress warnings caused by 3rd party libs: ".*thirdparty.*" "libtiff.*has no symbols"