Update cmake formula