diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index d11f515f4daff7a5b2dc768a85937654f27a30c2..0e61da4416d6406fdb7eb95ca075340a0fc00a7a 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -43,7 +43,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
   "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
   "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
   "ld: warning: directory not found for option .-(F|L)"
-  "qglobal.h.*warning.*This version of Mac OS X is unsupported"
+  "warning.*This version of Mac OS X is unsupported"
   )
 
 IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")