Update cmake scripts by new features.