The game’s end is triggered when either you or the Enemy has achieved one of the 4 "X-Objectives," or if the Enemy has reached the end of their Capital City Track.
The current round is then completed, and then one more round is played (if a Capital City is destroyed then the game is automatically over). Victory Points are then totalled as normal, but note that the Enemy Heroes do not grant points.