summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Schulz <roland@utk.edu>2014-08-18 21:14:00 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-19 12:50:41 (GMT)
commit914db028da1fc488df202a0c8705d1d5a8c258d1 (patch)
treee06cdf26c75c3a2a46d7a1266eb63185f7cd7dc0
parentf7ab23837994a4a6eff1c5ebf183ae915380b41c (diff)
downloadCMake-914db028da1fc488df202a0c8705d1d5a8c258d1.zip
CMake-914db028da1fc488df202a0c8705d1d5a8c258d1.tar.gz
CMake-914db028da1fc488df202a0c8705d1d5a8c258d1.tar.bz2
Check*CompilerFlag: Add another pattern for Intel (#15096)
Match "argument is of wrong type" warnings.
-rw-r--r--Modules/CMakeCheckCompilerFlagCommonPatterns.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
index aa7d96a..19b2bbc 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/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