Browse Source

Check*CompilerFlag: Add another pattern for Intel (#15096)

Match "argument is of wrong type" warnings.
Roland Schulz 11 years ago
parent
commit
914db028da
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/CMakeCheckCompilerFlagCommonPatterns.cmake

+ 1 - 0
Modules/CMakeCheckCompilerFlagCommonPatterns.cmake

@@ -28,6 +28,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
      FAIL_REGEX "option.*not supported"                     # Intel
      FAIL_REGEX "invalid argument .*option"                 # Intel
      FAIL_REGEX "ignoring option .*argument required"       # Intel
+     FAIL_REGEX "ignoring option .*argument is of wrong type" # Intel
      FAIL_REGEX "[Uu]nknown option"                         # HP
      FAIL_REGEX "[Ww]arning: [Oo]ption"                     # SunPro
      FAIL_REGEX "command option .* is not recognized"       # XL