diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-24 17:43:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-24 17:43:04 (GMT) |
commit | 89108b99eca60cfa71cee9727f3af052f5b9da4c (patch) | |
tree | 15a352959dfe5e7950131bd9f62c605ebbe58766 /Modules/CheckCXXCompilerFlag.cmake | |
parent | e0cc024dc90c74ff504995ce9ccd3671f9bf3db2 (diff) | |
download | CMake-89108b99eca60cfa71cee9727f3af052f5b9da4c.zip CMake-89108b99eca60cfa71cee9727f3af052f5b9da4c.tar.gz CMake-89108b99eca60cfa71cee9727f3af052f5b9da4c.tar.bz2 |
Look for errors reported by PGI too.
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r-- | Modules/CheckCXXCompilerFlag.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index 91008c3..7785148 100644 --- a/Modules/CheckCXXCompilerFlag.cmake +++ b/Modules/CheckCXXCompilerFlag.cmake @@ -34,6 +34,7 @@ MACRO (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT) FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro FAIL_REGEX "command option .* is not recognized" # XL FAIL_REGEX "not supported in this configuration; ignored" # AIX + FAIL_REGEX "File with unknown suffix passed to linker" # PGI ) SET (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") ENDMACRO (CHECK_CXX_COMPILER_FLAG) |