chaning for cmake errors and warnings