Use ecm_install_icons instead of a loop

Authored by heikobecker on Dec 14 2017, 7:52 PM.