Distance adds charm to a landscape.

Literal

Separating seeing [conditional-と] scenery [to-に] charm [subject-が] adds.

離れて見る (to view from a distance) + と conditional = 'when you view from a distance.' 景色に魅力がつく = 'charm attaches to the scenery.' A proverb-like observation about perspective.