summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
diff options
context:
space:
mode:
authorWilliam Orr <will@worrbase.com>2013-09-27 23:48:26 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-08 13:23:01 (GMT)
commit455bad19f617987539d100453e716e1c9bb86784 (patch)
tree5b9daa1a261e46874353ddfaa5d0e03056515d3b /Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
parent6f3ebfed983df5f171a2009360fea02e6efbfb56 (diff)
downloadCMake-455bad19f617987539d100453e716e1c9bb86784.zip
CMake-455bad19f617987539d100453e716e1c9bb86784.tar.gz
CMake-455bad19f617987539d100453e716e1c9bb86784.tar.bz2
Check*CompilerFlag: Add SunStudio 12 regex
Applied-by: Rolf Eike Beer <eike@sf-mail.de>
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 abe1ec5..9d8ba9e 100644
--- a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -36,5 +36,6 @@ macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
FAIL_REGEX "File with unknown suffix passed to linker" # PGI
FAIL_REGEX "WARNING: unknown flag:" # Open64
FAIL_REGEX "Incorrect command line option:" # Borland
+ FAIL_REGEX "Warning: illegal option" # SunStudio 12
)
endmacro ()