Remove some warnings when building
[openjpeg.git] / cmake / CTestCustom.cmake.in
index 39c2c4d7bc3fdc78cfb23f1a9709ece2d1c54df3..a8cb57ae960ef588eb64f93b0bf9db2c2bdb95d7 100644 (file)
@@ -20,7 +20,6 @@ set(CTEST_CUSTOM_COVERAGE_EXCLUDE
 
   # Exclude files from the ThirdParty Utilities directories
   ".*/thirdparty/.*"
-  ".*libtiff.*"
   )
 
 set(CTEST_CUSTOM_WARNING_EXCEPTION
@@ -28,8 +27,11 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
 
   # Suppress warning caused by intentional messages about deprecation
   ".*warning,.* is deprecated"
+  # java also warns about deprecated API
+  ".*java.*deprecation"
+  ".*deprecation.*"
   # supress warnings caused by 3rd party libs:
-  ".*/thirdparty/.*"
+  ".*thirdparty.*"
   "libtiff.*has no symbols"
   "libpng.*has no symbols"
   )