summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2019-03-15 15:38:19 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2019-03-15 15:38:19 (GMT)
commitc213e34d0cbcd2dcc8b0735103d9f4a1f1346dda (patch)
tree46e53a027e7e4cd7d183042d21fa1669960b0faf /Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
parent2efecea485a76df149ecc5d644cc2a1ec6c33cf3 (diff)
downloadCMake-c213e34d0cbcd2dcc8b0735103d9f4a1f1346dda.zip
CMake-c213e34d0cbcd2dcc8b0735103d9f4a1f1346dda.tar.gz
CMake-c213e34d0cbcd2dcc8b0735103d9f4a1f1346dda.tar.bz2
cray: Detect bad options passed on the command line
Diffstat (limited to 'Modules/CMakeCheckCompilerFlagCommonPatterns.cmake')
-rw-r--r--Modules/CMakeCheckCompilerFlagCommonPatterns.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
index e60ffe0..5b9ed34 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -30,5 +30,6 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
FAIL_REGEX "Incorrect command line option:" # Borland
FAIL_REGEX "Warning: illegal option" # SunStudio 12
FAIL_REGEX "[Ww]arning: Invalid suboption" # Fujitsu
+ FAIL_REGEX "An invalid option .* appears on the command line" # Cray
)
endmacro ()