update cmake rules.