summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-07-27 19:01:50 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-07-27 19:01:50 (GMT)
commitb7f3f7cdb62fcadba806aca8168c88a9a637eda6 (patch)
treedc00d0b8edd1b18488127aba56bcbe7a82486ac2 /Modules/FindPNG.cmake
parent49a00ec2def5882aa056638c3ae0b3088157de93 (diff)
downloadCMake-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/FindPNG.cmake')
0 files changed, 0 insertions, 0 deletions