summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-23 17:58:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-23 17:58:42 (GMT)
commit6adeda9f55ca81b3715dd7512f2cd3c3218bd6ab (patch)
treed46eb751f65402aae823c91b429ece2c86de368d /Modules/CheckCXXCompilerFlag.cmake
parente253348ecd8cedc0f5fe640e613b2d19bd5641ae (diff)
downloadCMake-6adeda9f55ca81b3715dd7512f2cd3c3218bd6ab.zip
CMake-6adeda9f55ca81b3715dd7512f2cd3c3218bd6ab.tar.gz
CMake-6adeda9f55ca81b3715dd7512f2cd3c3218bd6ab.tar.bz2
Possibly fix configuration test on AIX.
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 788bf35..91008c3 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -33,6 +33,7 @@ MACRO (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)
FAIL_REGEX "[Uu]nknown option" # HP
FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
FAIL_REGEX "command option .* is not recognized" # XL
+ FAIL_REGEX "not supported in this configuration; ignored" # AIX
)
SET (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}")
ENDMACRO (CHECK_CXX_COMPILER_FLAG)