update cmake script