cmake CXX_HAS_WFATAL_ERROR examples

robotology/yarp cmake/YarpSystemCheck.cmake :283

check_cxx_compiler_flag("-Wfatal-errors" CXX_HAS_WFATAL_ERROR)