cmake: highlight warning and error messages