cmake rules update