Bläddra i källkod

Possibly fix configuration test on AIX.

Stephen Kelly 14 år sedan
förälder
incheckning
6adeda9f55
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      Modules/CheckCXXCompilerFlag.cmake

+ 1 - 0
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)