now applying cmake into undo