summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-04-28 15:05:23 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-04-28 15:08:41 (GMT)
commit54a4d28dcffddda52b886af091ddeb3d955c0b17 (patch)
tree2ea077d26048ea32fe4971336c62a0ea9dd859d9 /Modules
parent2911d4701675d17b817f8fbe607bb5a493cacf0c (diff)
downloadCMake-54a4d28dcffddda52b886af091ddeb3d955c0b17.zip
CMake-54a4d28dcffddda52b886af091ddeb3d955c0b17.tar.gz
CMake-54a4d28dcffddda52b886af091ddeb3d955c0b17.tar.bz2
XL: Add additional regex for bogus compile options
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeCheckCompilerFlagCommonPatterns.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
index 1b5178d..e60ffe0 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -22,6 +22,7 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
FAIL_REGEX "command option .* is not recognized" # XL
FAIL_REGEX "command option .* contains an incorrect subargument" # XL
+ FAIL_REGEX "Option .* is not recognized. Option will be ignored." # XL
FAIL_REGEX "not supported in this configuration. ignored" # AIX
FAIL_REGEX "File with unknown suffix passed to linker" # PGI
FAIL_REGEX "[Uu]nknown switch" # PGI