summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-12 13:55:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-11-12 13:55:14 (GMT)
commit3ac8ea76964461008878156ba086c7e23b4d4c1c (patch)
tree9200cf92fc71d83a42fb2651e53535a2035590cf /Modules
parent8f32e873b12c68bdc963f248f0a53e34d6f92c2d (diff)
parent220f78e2537ee8e3010097c62f05c159a5cdd377 (diff)
downloadCMake-3ac8ea76964461008878156ba086c7e23b4d4c1c.zip
CMake-3ac8ea76964461008878156ba086c7e23b4d4c1c.tar.gz
CMake-3ac8ea76964461008878156ba086c7e23b4d4c1c.tar.bz2
Merge topic 'ti-armcl-unknown-arg-warning'
220f78e253 TI: Recognize invalid compiler option warning during try_compile() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6705
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 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 ()