CheckCCompilerFlag
: Check whether the C compiler supports a given flag.CHECK_C_COMPILER_FLAG(FLAG VARIABLE)
FLAG - the compiler flag
VARIABLE - variable to store the result
This actually calls the check_c_source_compiles macro.
See help for CheckCSourceCompiles for a listing of variables
that can modify the build.