diff options
author | Craig Scott <craig.scott@crascit.com> | 2021-11-06 04:35:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-11-11 15:53:31 (GMT) |
commit | 220f78e2537ee8e3010097c62f05c159a5cdd377 (patch) | |
tree | 10b8143632c808a8ea770abc5b68db455c45944c /Modules/CMakeCheckCompilerFlagCommonPatterns.cmake | |
parent | 2ad300ebd73c6aca7189a9f8ea8d8ad61e9c3223 (diff) | |
download | CMake-220f78e2537ee8e3010097c62f05c159a5cdd377.zip CMake-220f78e2537ee8e3010097c62f05c159a5cdd377.tar.gz CMake-220f78e2537ee8e3010097c62f05c159a5cdd377.tar.bz2 |
TI: Recognize invalid compiler option warning during try_compile()
Fixes: #22866
Diffstat (limited to 'Modules/CMakeCheckCompilerFlagCommonPatterns.cmake')
-rw-r--r-- | Modules/CMakeCheckCompilerFlagCommonPatterns.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake index 05174de..bda1d71 100644 --- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake +++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake @@ -32,5 +32,6 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR) 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 + FAIL_REGEX "WARNING: invalid compiler option" # TI armcl ) endmacro () |