mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
b7f3f7cdb6
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.
1.9 KiB
1.9 KiB