cmake polishing