cray: Detect bad options passed on the command line

This commit is contained in:
Chuck Atkins
2019-03-15 11:38:19 -04:00
parent 2efecea485
commit c213e34d0c

View File

@@ -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 ()