moved to cmake rules