Generic dark matter signature for gamma-ray telescopes