Updated cmake formula