summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCCompilerFlag.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-02-23 22:08:04 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-02-23 22:08:04 (GMT)
commitf6ecb900fb1bed7fc74e3c7d7091c6e796c099d3 (patch)
tree12cf87fb8dc7f20c37dc63c1766cd07071332263 /Modules/CheckCCompilerFlag.cmake
parente8e964f675dc2475e871a13bb5dae99ef7a40201 (diff)
downloadCMake-f6ecb900fb1bed7fc74e3c7d7091c6e796c099d3.zip
CMake-f6ecb900fb1bed7fc74e3c7d7091c6e796c099d3.tar.gz
CMake-f6ecb900fb1bed7fc74e3c7d7091c6e796c099d3.tar.bz2
Check{C,CXX}CompilerFlag: detect ICC error messages
Patch provided by Christopher Sean Morrison.
Diffstat (limited to 'Modules/CheckCCompilerFlag.cmake')
-rw-r--r--Modules/CheckCCompilerFlag.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index 3618bdf..1c08c59 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -33,6 +33,7 @@ MACRO (CHECK_C_COMPILER_FLAG _FLAG _RESULT)
FAIL_REGEX "unknown .*option" # Clang
FAIL_REGEX "ignoring unknown option" # MSVC
FAIL_REGEX "warning D9002" # MSVC, any lang
+ FAIL_REGEX "option .*not supported" # Intel
FAIL_REGEX "[Uu]nknown option" # HP
FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
FAIL_REGEX "command option .* is not recognized" # XL