diff options
author | David Cole <david.cole@kitware.com> | 2011-07-27 19:01:50 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-07-27 19:01:50 (GMT) |
commit | b7f3f7cdb62fcadba806aca8168c88a9a637eda6 (patch) | |
tree | dc00d0b8edd1b18488127aba56bcbe7a82486ac2 /Modules/FindPHP4.cmake | |
parent | 49a00ec2def5882aa056638c3ae0b3088157de93 (diff) | |
download | CMake-b7f3f7cdb62fcadba806aca8168c88a9a637eda6.zip CMake-b7f3f7cdb62fcadba806aca8168c88a9a637eda6.tar.gz CMake-b7f3f7cdb62fcadba806aca8168c88a9a637eda6.tar.bz2 |
Add fail regex to detect supported warning flags correctly.
On Apple's gcc, the compiler emits a warning such as "warning: command
line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C"
when it is passed that flag on its command line.
When testing for that flag with a plain C file, we should report that
the flag is unsupported for C files. The new FAIL_REGEX option added
here produces this behavior.
Diffstat (limited to 'Modules/FindPHP4.cmake')
0 files changed, 0 insertions, 0 deletions